forked from qt-creator/qt-creator
ProjectExplorer: Apply static pattern to ProjectExplorerPlugin
Adjust caller sites and surroundings. Change-Id: I6c3c80e42f35eabedc1f89c8c42cca1025aca12f Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -442,7 +442,7 @@ void QbsProjectManagerPlugin::buildFiles(QbsProject *project, const QStringList
|
||||
if (!bc)
|
||||
return;
|
||||
|
||||
if (!ProjectExplorerPlugin::instance()->saveModifiedFiles())
|
||||
if (!ProjectExplorerPlugin::saveModifiedFiles())
|
||||
return;
|
||||
|
||||
bc->setChangedFiles(files);
|
||||
@@ -476,7 +476,7 @@ void QbsProjectManagerPlugin::buildProducts(QbsProject *project, const QStringLi
|
||||
if (!bc)
|
||||
return;
|
||||
|
||||
if (!ProjectExplorerPlugin::instance()->saveModifiedFiles())
|
||||
if (!ProjectExplorerPlugin::saveModifiedFiles())
|
||||
return;
|
||||
|
||||
bc->setChangedFiles(QStringList());
|
||||
|
||||
Reference in New Issue
Block a user