summaryrefslogtreecommitdiff
path: root/src/plugins/cpaster
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-12-29 03:37:27 +0100
committerhjk <qthjk@ovi.com>2012-12-29 19:10:59 +0100
commit78beacd7b4659af8a21464c290323d3d431fcf13 (patch)
treebcc2685532a54c9acd2984d56be7fc348ceac152 /src/plugins/cpaster
parent1863bfebdb75f0a28b2790c51688ee999b3874b4 (diff)
downloadqt-creator-78beacd7b4659af8a21464c290323d3d431fcf13.tar.gz
Use Core::Id for IOptionPage::category
Change-Id: I63433edd9118a7aa4ecaef28f40bfc729d90f512 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/cpaster')
-rw-r--r--src/plugins/cpaster/codepastersettings.cpp2
-rw-r--r--src/plugins/cpaster/fileshareprotocolsettingspage.cpp2
-rw-r--r--src/plugins/cpaster/settingspage.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cpaster/codepastersettings.cpp b/src/plugins/cpaster/codepastersettings.cpp
index 83b0917fe6..dcca2e56ab 100644
--- a/src/plugins/cpaster/codepastersettings.cpp
+++ b/src/plugins/cpaster/codepastersettings.cpp
@@ -53,7 +53,7 @@ CodePasterSettingsPage::CodePasterSettingsPage()
{
setId(QLatin1String("C.CodePaster"));
setDisplayName(tr("CodePaster"));
- setCategory(QLatin1String(Constants::CPASTER_SETTINGS_CATEGORY));
+ setCategory(Constants::CPASTER_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("CodePaster",
Constants::CPASTER_SETTINGS_TR_CATEGORY));
diff --git a/src/plugins/cpaster/fileshareprotocolsettingspage.cpp b/src/plugins/cpaster/fileshareprotocolsettingspage.cpp
index d8c6ae4b2f..9984598169 100644
--- a/src/plugins/cpaster/fileshareprotocolsettingspage.cpp
+++ b/src/plugins/cpaster/fileshareprotocolsettingspage.cpp
@@ -100,7 +100,7 @@ FileShareProtocolSettingsPage::FileShareProtocolSettingsPage(const QSharedPointe
{
setId(QLatin1String("X.FileSharePaster"));
setDisplayName(tr("Fileshare"));
- setCategory(QLatin1String(Constants::CPASTER_SETTINGS_CATEGORY));
+ setCategory(Constants::CPASTER_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("CodePaster", Constants::CPASTER_SETTINGS_TR_CATEGORY));
}
diff --git a/src/plugins/cpaster/settingspage.cpp b/src/plugins/cpaster/settingspage.cpp
index 96b1f8703c..1cf06ebd9f 100644
--- a/src/plugins/cpaster/settingspage.cpp
+++ b/src/plugins/cpaster/settingspage.cpp
@@ -80,7 +80,7 @@ SettingsPage::SettingsPage(const QSharedPointer<Settings> &settings) :
{
setId(QLatin1String("A.General"));
setDisplayName(tr("General"));
- setCategory(QLatin1String(Constants::CPASTER_SETTINGS_CATEGORY));
+ setCategory(Constants::CPASTER_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("CodePaster",
Constants::CPASTER_SETTINGS_TR_CATEGORY));
setCategoryIcon(QLatin1String(Constants::SETTINGS_CATEGORY_CPASTER_ICON));