diff --git a/src/plugins/quickopen/images/quickopen.png b/src/plugins/quickopen/images/locator.png similarity index 100% rename from src/plugins/quickopen/images/quickopen.png rename to src/plugins/quickopen/images/locator.png diff --git a/src/plugins/quickopen/locator.qrc b/src/plugins/quickopen/locator.qrc new file mode 100644 index 0000000000000000000000000000000000000000..4cd5df4f13dbaece9e89697c725b23418d4b4537 --- /dev/null +++ b/src/plugins/quickopen/locator.qrc @@ -0,0 +1,6 @@ +<RCC> + <qresource prefix="/locator"> + <file>images/reload.png</file> + <file>images/locator.png</file> + </qresource> +</RCC> diff --git a/src/plugins/quickopen/locatorwidget.cpp b/src/plugins/quickopen/locatorwidget.cpp index 61679cb06164e2d13dee09a45112e6477c2bfa39..88106647037c9a804f1e160ac12dafe03190a256 100644 --- a/src/plugins/quickopen/locatorwidget.cpp +++ b/src/plugins/quickopen/locatorwidget.cpp @@ -272,7 +272,7 @@ LocatorWidget::LocatorWidget(LocatorPlugin *qop) : layout->setMargin(0); layout->addWidget(m_fileLineEdit); - setWindowIcon(QIcon(":/quickopen/images/quickopen.png")); + setWindowIcon(QIcon(":/locator/images/locator.png")); QPixmap image(Core::Constants::ICON_MAGNIFIER); m_fileLineEdit->setPixmap(image); m_fileLineEdit->setUseLayoutDirection(true); diff --git a/src/plugins/quickopen/quickopen.pro b/src/plugins/quickopen/quickopen.pro index 0cf3907ce7659cc35427984d4851718847c3e07e..5b56c4edf09a3e32b5f10be1d52e63924603be43 100644 --- a/src/plugins/quickopen/quickopen.pro +++ b/src/plugins/quickopen/quickopen.pro @@ -28,6 +28,6 @@ SOURCES += locatorplugin.cpp \ FORMS += settingspage.ui \ filesystemfilter.ui \ directoryfilter.ui -RESOURCES += quickopen.qrc +RESOURCES += locator.qrc OTHER_FILES += QuickOpen.pluginspec diff --git a/src/plugins/quickopen/quickopen.qrc b/src/plugins/quickopen/quickopen.qrc deleted file mode 100644 index 0ab0ff14fc231fb513e3daaa9a485d382832628f..0000000000000000000000000000000000000000 --- a/src/plugins/quickopen/quickopen.qrc +++ /dev/null @@ -1,6 +0,0 @@ -<RCC> - <qresource prefix="/quickopen" > - <file>images/quickopen.png</file> - <file>images/reload.png</file> - </qresource> -</RCC> diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index 11050285ff6e9f699a9701ed7887d00765510315..727d08d4d6cf819dc9642bfc7b3377e36962a9f4 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -360,11 +360,11 @@ void TextEditorActionHandler::updateCopyAction() void TextEditorActionHandler::gotoAction() { - QuickOpen::LocatorManager *quickopen = QuickOpen::LocatorManager::instance(); - QTC_ASSERT(quickopen, return); + QuickOpen::LocatorManager *locatorManager = QuickOpen::LocatorManager::instance(); + QTC_ASSERT(locatorManager, return); const QString shortcut = TextEditorPlugin::instance()->lineNumberFilter()->shortcutString(); const QString text = tr(" <line number>"); - quickopen->show(shortcut + text, 2, text.length()-1); + locatorManager->show(shortcut + text, 2, text.length()-1); } void TextEditorActionHandler::printAction()