diff options
Diffstat (limited to 'src/plugins/locator/locatorwidget.cpp')
-rw-r--r-- | src/plugins/locator/locatorwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/locator/locatorwidget.cpp b/src/plugins/locator/locatorwidget.cpp index cd759106a9..14a7182a4c 100644 --- a/src/plugins/locator/locatorwidget.cpp +++ b/src/plugins/locator/locatorwidget.cpp @@ -362,7 +362,7 @@ void LocatorWidget::updateFilterList() foreach (ILocatorFilter *filter, m_locatorPlugin->filters()) { if (filter->shortcutString().isEmpty() || filter->isHidden()) continue; - QString locatorId = QLatin1String("Locator.") + filter->id(); + Core::Id locatorId = Core::Id(QLatin1String("Locator.") + filter->id()); QAction *action = 0; Core::Command *cmd = 0; if (!actionCopy.contains(filter->id())) { @@ -384,7 +384,7 @@ void LocatorWidget::updateFilterList() // unregister actions that are deleted now foreach (const QString &id, actionCopy.keys()) { - am->unregisterAction(actionCopy.value(id), QString(QLatin1String("Locator.") + id)); + am->unregisterAction(actionCopy.value(id), Core::Id(QLatin1String("Locator.") + id)); } qDeleteAll(actionCopy); |