projectexplorer/editormanager: fix uses of Core::Id

Change-Id: Iba0c42511c43b306a5cecebf15dcb03b0c2cb0e2
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
hjk
2011-11-08 11:26:07 +01:00
committed by Eike Ziller
parent cc2433f79e
commit 5c750f869a
3 changed files with 3 additions and 3 deletions

View File

@@ -362,7 +362,7 @@ void ProjectTreeWidget::openItem(const QModelIndex &mainIndex)
Node *node = m_model->nodeForIndex(mainIndex);
if (node->nodeType() == FileNodeType) {
Core::EditorManager *editorManager = Core::EditorManager::instance();
editorManager->openEditor(node->path(), QString(), Core::EditorManager::ModeSwitch);
editorManager->openEditor(node->path(), Core::Id(), Core::EditorManager::ModeSwitch);
}
}