forked from qt-creator/qt-creator
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:
@@ -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>
|
||||
|
@@ -35,3 +35,6 @@ FORMS += settingspage.ui \
|
||||
pastebindotcomsettings.ui \
|
||||
fileshareprotocolsettingswidget.ui
|
||||
include(../../shared/cpaster/cpaster.pri)
|
||||
|
||||
RESOURCES += \
|
||||
cpaster.qrc
|
||||
|
@@ -17,6 +17,7 @@ QtcPlugin {
|
||||
"columnindicatortextedit.cpp",
|
||||
"columnindicatortextedit.h",
|
||||
"cpasterconstants.h",
|
||||
"cpaster.qrc",
|
||||
"cpasterplugin.cpp",
|
||||
"cpasterplugin.h",
|
||||
"fileshareprotocol.cpp",
|
||||
|
5
src/plugins/cpaster/cpaster.qrc
Normal file
5
src/plugins/cpaster/cpaster.qrc
Normal file
@@ -0,0 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/cpaster">
|
||||
<file>images/category_cpaster.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
@@ -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
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Reference in New Issue
Block a user