diff --git a/src/plugins/quickopen/locatorplugin.cpp b/src/plugins/quickopen/locatorplugin.cpp index 8da47dd90a453b2a14440b7b3e5bf0fe7ca9a56f..8500f90419bbe63ed8442450ca279beb8e85c6d0 100644 --- a/src/plugins/quickopen/locatorplugin.cpp +++ b/src/plugins/quickopen/locatorplugin.cpp @@ -96,7 +96,7 @@ bool LocatorPlugin::initialize(const QStringList &, QString *) m_locatorWidget = new LocatorWidget(this); m_locatorWidget->setEnabled(false); Core::BaseView *view = new Core::BaseView; - view->setUniqueViewName("QuickOpen"); + view->setUniqueViewName("Locator"); view->setWidget(m_locatorWidget); view->setContext(QList<int>() << core->uniqueIDManager() ->uniqueIdentifier(QLatin1String("LocatorWidget"))); @@ -107,7 +107,7 @@ bool LocatorPlugin::initialize(const QStringList &, QString *) QAction *action = new QAction(m_locatorWidget->windowIcon(), m_locatorWidget->windowTitle(), this); Core::Command *cmd = core->actionManager()->registerAction(action, actionId, QList<int>() << Core::Constants::C_GLOBAL_ID); cmd->setDefaultKeySequence(QKeySequence("Ctrl+K")); - connect(action, SIGNAL(triggered()), this, SLOT(openQuickOpen())); + connect(action, SIGNAL(triggered()), this, SLOT(openLocator())); Core::ActionContainer *mtools = core->actionManager()->actionContainer(Core::Constants::M_TOOLS); mtools->addAction(cmd); @@ -126,7 +126,7 @@ bool LocatorPlugin::initialize(const QStringList &, QString *) return true; } -void LocatorPlugin::openQuickOpen() +void LocatorPlugin::openLocator() { m_locatorWidget->show(""); } diff --git a/src/plugins/quickopen/locatorplugin.h b/src/plugins/quickopen/locatorplugin.h index a1d75fc6e0d4132284ac6aa96b25c998d3d8be34..d51f8429bc95b2ffdf416040beac1f42f1c8c65e 100644 --- a/src/plugins/quickopen/locatorplugin.h +++ b/src/plugins/quickopen/locatorplugin.h @@ -69,7 +69,7 @@ public: public slots: void refresh(QList<ILocatorFilter*> filters = QList<ILocatorFilter*>()); void saveSettings(); - void openQuickOpen(); + void openLocator(); private slots: void startSettingsLoad();