Commit 5d74b927 authored by con's avatar con

Rename resource file.

parent 4fa78b47
<RCC>
<qresource prefix="/quickopen" >
<file>images/quickopen.png</file>
<qresource prefix="/locator">
<file>images/reload.png</file>
<file>images/locator.png</file>
</qresource>
</RCC>
......@@ -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);
......
......@@ -28,6 +28,6 @@ SOURCES += locatorplugin.cpp \
FORMS += settingspage.ui \
filesystemfilter.ui \
directoryfilter.ui
RESOURCES += quickopen.qrc
RESOURCES += locator.qrc
OTHER_FILES += QuickOpen.pluginspec
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment