forked from qt-creator/qt-creator
ProjectExplorer: De-virtualize some more virtual methods
Use setters/getters for the bool flags in Project::needsBuildConfigurations() and Project::hasMakeInstallEquivalent. Change-Id: I5ce937c3a5e8e0db627cda02a9007f8c28ccda0c Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -67,6 +67,8 @@ QmlProject::QmlProject(const Utils::FilePath &fileName) :
|
||||
setId(QmlProjectManager::Constants::QML_PROJECT_ID);
|
||||
setProjectLanguages(Context(ProjectExplorer::Constants::QMLJS_LANGUAGE_ID));
|
||||
setDisplayName(fileName.toFileInfo().completeBaseName());
|
||||
|
||||
setNeedsBuildConfigurations(false);
|
||||
}
|
||||
|
||||
QmlProject::~QmlProject()
|
||||
@@ -242,11 +244,6 @@ void QmlProject::refreshProjectFile()
|
||||
refresh(QmlProject::ProjectFile | Files);
|
||||
}
|
||||
|
||||
bool QmlProject::needsBuildConfigurations() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
QStringList QmlProject::makeAbsolute(const Utils::FilePath &path, const QStringList &relativePaths)
|
||||
{
|
||||
if (path.isEmpty())
|
||||
|
Reference in New Issue
Block a user