Qbs: WS cleanup.

Change-Id: I2f0fbba63f7a61f541dc4d78f4bee24ef2369dc8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2014-02-10 17:35:40 +01:00
parent b60fb8aeab
commit 2e45c1d8d4

View File

@@ -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));