forked from qt-creator/qt-creator
ProjectManagers: Cleanup
Remove unused class members, declarations, includes, unneeded ::projectManager overloads etc. Change-Id: I0f4ae87414faca226554722e2a9147cb5512495d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include "qbslogsink.h"
|
||||
#include "qbspmlogging.h"
|
||||
#include "qbsprojectfile.h"
|
||||
#include "qbsprojectmanager.h"
|
||||
#include "qbsprojectparser.h"
|
||||
#include "qbsprojectmanagerconstants.h"
|
||||
#include "qbsnodes.h"
|
||||
@@ -67,7 +66,6 @@
|
||||
#include <qbs.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QDir>
|
||||
#include <QElapsedTimer>
|
||||
#include <QFileInfo>
|
||||
#include <QMessageBox>
|
||||
@@ -168,11 +166,6 @@ QString QbsProject::displayName() const
|
||||
return m_projectName;
|
||||
}
|
||||
|
||||
QbsManager *QbsProject::projectManager() const
|
||||
{
|
||||
return static_cast<QbsManager *>(Project::projectManager());
|
||||
}
|
||||
|
||||
QbsRootProjectNode *QbsProject::rootProjectNode() const
|
||||
{
|
||||
return static_cast<QbsRootProjectNode *>(Project::rootProjectNode());
|
||||
@@ -433,7 +426,7 @@ qbs::InstallJob *QbsProject::install(const qbs::InstallOptions &opts)
|
||||
|
||||
QString QbsProject::profileForTarget(const Target *t) const
|
||||
{
|
||||
return projectManager()->profileForKit(t->kit());
|
||||
return static_cast<QbsManager *>(projectManager())->profileForKit(t->kit());
|
||||
}
|
||||
|
||||
bool QbsProject::isParsing() const
|
||||
|
||||
Reference in New Issue
Block a user