summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/navigationsubwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/coreplugin/navigationsubwidget.cpp')
-rw-r--r--src/plugins/coreplugin/navigationsubwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/navigationsubwidget.cpp b/src/plugins/coreplugin/navigationsubwidget.cpp
index 69bf911b66..4bc743711c 100644
--- a/src/plugins/coreplugin/navigationsubwidget.cpp
+++ b/src/plugins/coreplugin/navigationsubwidget.cpp
@@ -176,8 +176,8 @@ void NavigationSubWidget::restoreSettings()
Core::Command *NavigationSubWidget::command(const QString &title) const
{
- const QHash<QString, Core::Command*> commandMap = m_parentWidget->commandMap();
- QHash<QString, Core::Command*>::const_iterator r = commandMap.find(title);
+ const QHash<Id, Command *> commandMap = m_parentWidget->commandMap();
+ QHash<Id, Command *>::const_iterator r = commandMap.find(Id(title));
if (r != commandMap.end())
return r.value();
return 0;