CPaster: Move setting category icon from Core to CPaster

This image is used exclusively in the CPaster plugin,
thus belong into CPaster resources.

Change-Id: If2718c7a58bca389c0afe7ecf32feb251eb0c581
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Alessandro Portale
2014-06-02 14:56:07 +02:00
parent ae5c0c27bd
commit 503bd40199
6 changed files with 10 additions and 2 deletions

View File

@@ -72,7 +72,6 @@
<file>images/arrowup.png</file>
<file>images/arrowup@2x.png</file>
<file>images/category_locator.png</file>
<file>images/category_cpaster.png</file>
<file>images/filtericon.png</file>
<file>images/filtericon@2x.png</file>
<file>images/button_close.png</file>

View File

@@ -35,3 +35,6 @@ FORMS += settingspage.ui \
pastebindotcomsettings.ui \
fileshareprotocolsettingswidget.ui
include(../../shared/cpaster/cpaster.pri)
RESOURCES += \
cpaster.qrc

View File

@@ -17,6 +17,7 @@ QtcPlugin {
"columnindicatortextedit.cpp",
"columnindicatortextedit.h",
"cpasterconstants.h",
"cpaster.qrc",
"cpasterplugin.cpp",
"cpasterplugin.h",
"fileshareprotocol.cpp",

View File

@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/cpaster">
<file>images/category_cpaster.png</file>
</qresource>
</RCC>

View File

@@ -37,7 +37,7 @@ namespace Constants {
const char CPASTER_SETTINGS_CATEGORY[] = "XZ.CPaster";
const char CPASTER_SETTINGS_TR_CATEGORY[] = QT_TRANSLATE_NOOP("CodePaster", "Code Pasting");
const char SETTINGS_CATEGORY_CPASTER_ICON[] = ":/core/images/category_cpaster.png";
const char SETTINGS_CATEGORY_CPASTER_ICON[] = ":/cpaster/images/category_cpaster.png";
} // namespace Constants
} // namespace CodePaster

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB