From 6c56fbfedcc8d64e61653b021a70260baa4a3fa8 Mon Sep 17 00:00:00 2001
From: kh1 <qt-info@nokia.com>
Date: Fri, 27 Nov 2009 17:30:09 +0100
Subject: [PATCH] Compile fix on windows, not sure it should be named like
 this.

---
 .../qt4projectmanager/qt-maemo/maemosettingspage.cpp   | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemosettingspage.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemosettingspage.cpp
index bc5b35bf5f4..bade7e554a7 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemosettingspage.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemosettingspage.cpp
@@ -51,7 +51,8 @@
 namespace Qt4ProjectManager {
 namespace Internal {
 
-#define PAGE_ID "Maemo Device Configurations"
+#define PAGE_ID "ZZ.Maemo Device Configurations"
+#define PAGE_ID_TR "Maemo Device Configurations"
 
 class DevConfMatcher
 {
@@ -98,17 +99,18 @@ QString MaemoSettingsPage::id() const
 
 QString MaemoSettingsPage::trName() const
 {
-    return tr(PAGE_ID);
+    return tr(PAGE_ID_TR);
 }
 
 QString MaemoSettingsPage::category() const
 {
-    return Constants::QT_CATEGORY;
+    return QLatin1String(Constants::QT_SETTINGS_CATEGORY);
 }
 
 QString MaemoSettingsPage::trCategory() const
 {
-    return tr(Constants::QT_CATEGORY);
+    return QCoreApplication::translate("Qt4ProjectManager",
+        Constants::QT_SETTINGS_CATEGORY);
 }
 
 QWidget *MaemoSettingsPage::createPage(QWidget *parent)
-- 
GitLab