diff options
-rw-r--r-- | src/plugins/coreplugin/core.qrc | 1 | ||||
-rw-r--r-- | src/plugins/cpaster/cpaster.pro | 3 | ||||
-rw-r--r-- | src/plugins/cpaster/cpaster.qbs | 1 | ||||
-rw-r--r-- | src/plugins/cpaster/cpaster.qrc | 5 | ||||
-rw-r--r-- | src/plugins/cpaster/cpasterconstants.h | 2 | ||||
-rw-r--r-- | src/plugins/cpaster/images/category_cpaster.png (renamed from src/plugins/coreplugin/images/category_cpaster.png) | bin | 1442 -> 1442 bytes |
6 files changed, 10 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/core.qrc b/src/plugins/coreplugin/core.qrc index bb606f02a3..4523a86f83 100644 --- a/src/plugins/coreplugin/core.qrc +++ b/src/plugins/coreplugin/core.qrc @@ -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> diff --git a/src/plugins/cpaster/cpaster.pro b/src/plugins/cpaster/cpaster.pro index f697c94e16..5bdc8e2545 100644 --- a/src/plugins/cpaster/cpaster.pro +++ b/src/plugins/cpaster/cpaster.pro @@ -35,3 +35,6 @@ FORMS += settingspage.ui \ pastebindotcomsettings.ui \ fileshareprotocolsettingswidget.ui include(../../shared/cpaster/cpaster.pri) + +RESOURCES += \ + cpaster.qrc diff --git a/src/plugins/cpaster/cpaster.qbs b/src/plugins/cpaster/cpaster.qbs index 433153b007..69eeace2eb 100644 --- a/src/plugins/cpaster/cpaster.qbs +++ b/src/plugins/cpaster/cpaster.qbs @@ -17,6 +17,7 @@ QtcPlugin { "columnindicatortextedit.cpp", "columnindicatortextedit.h", "cpasterconstants.h", + "cpaster.qrc", "cpasterplugin.cpp", "cpasterplugin.h", "fileshareprotocol.cpp", diff --git a/src/plugins/cpaster/cpaster.qrc b/src/plugins/cpaster/cpaster.qrc new file mode 100644 index 0000000000..f73d6bb204 --- /dev/null +++ b/src/plugins/cpaster/cpaster.qrc @@ -0,0 +1,5 @@ +<RCC> + <qresource prefix="/cpaster"> + <file>images/category_cpaster.png</file> + </qresource> +</RCC> diff --git a/src/plugins/cpaster/cpasterconstants.h b/src/plugins/cpaster/cpasterconstants.h index 929cdccb03..8fbcd752e6 100644 --- a/src/plugins/cpaster/cpasterconstants.h +++ b/src/plugins/cpaster/cpasterconstants.h @@ -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 diff --git a/src/plugins/coreplugin/images/category_cpaster.png b/src/plugins/cpaster/images/category_cpaster.png Binary files differindex eef221c830..eef221c830 100644 --- a/src/plugins/coreplugin/images/category_cpaster.png +++ b/src/plugins/cpaster/images/category_cpaster.png |