forked from qt-creator/qt-creator
Qbs: WS cleanup.
Change-Id: I2f0fbba63f7a61f541dc4d78f4bee24ef2369dc8 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -237,7 +237,7 @@ void QbsProjectManagerPlugin::updateBuildActions()
|
||||
|
||||
QString file;
|
||||
|
||||
if (Core::IDocument *currentDocument= Core::EditorManager::currentDocument()) {
|
||||
if (Core::IDocument *currentDocument = Core::EditorManager::currentDocument()) {
|
||||
file = currentDocument->filePath();
|
||||
Node *node = SessionManager::nodeForFile(file);
|
||||
Project *project = qobject_cast<QbsProject *>(SessionManager::projectForFile(file));
|
||||
|
||||
Reference in New Issue
Block a user