summaryrefslogtreecommitdiff
path: root/src/plugins/cpaster
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@digia.com>2014-06-02 14:56:07 +0200
committerAlessandro Portale <alessandro.portale@digia.com>2014-06-24 17:03:14 +0200
commit503bd4019978842fa3a6782b788c311fa7acc63f (patch)
treee5852d8aae9312106b255a88414c6e56a4864ebb /src/plugins/cpaster
parentae5c0c27bd7d9354185234c64b7b8889eaec25a6 (diff)
downloadqt-creator-503bd4019978842fa3a6782b788c311fa7acc63f.tar.gz
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>
Diffstat (limited to 'src/plugins/cpaster')
-rw-r--r--src/plugins/cpaster/cpaster.pro3
-rw-r--r--src/plugins/cpaster/cpaster.qbs1
-rw-r--r--src/plugins/cpaster/cpaster.qrc5
-rw-r--r--src/plugins/cpaster/cpasterconstants.h2
-rw-r--r--src/plugins/cpaster/images/category_cpaster.pngbin0 -> 1442 bytes
5 files changed, 10 insertions, 1 deletions
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/cpaster/images/category_cpaster.png b/src/plugins/cpaster/images/category_cpaster.png
new file mode 100644
index 0000000000..eef221c830
--- /dev/null
+++ b/src/plugins/cpaster/images/category_cpaster.png
Binary files differ