Commit 6c56fbfe authored by kh1's avatar kh1
Browse files

Compile fix on windows, not sure it should be named like this.

parent 90c03d32
...@@ -51,7 +51,8 @@ ...@@ -51,7 +51,8 @@
namespace Qt4ProjectManager { namespace Qt4ProjectManager {
namespace Internal { namespace Internal {
#define PAGE_ID "Maemo Device Configurations" #define PAGE_ID "ZZ.Maemo Device Configurations"
#define PAGE_ID_TR "Maemo Device Configurations"
class DevConfMatcher class DevConfMatcher
{ {
...@@ -98,17 +99,18 @@ QString MaemoSettingsPage::id() const ...@@ -98,17 +99,18 @@ QString MaemoSettingsPage::id() const
QString MaemoSettingsPage::trName() const QString MaemoSettingsPage::trName() const
{ {
return tr(PAGE_ID); return tr(PAGE_ID_TR);
} }
QString MaemoSettingsPage::category() const QString MaemoSettingsPage::category() const
{ {
return Constants::QT_CATEGORY; return QLatin1String(Constants::QT_SETTINGS_CATEGORY);
} }
QString MaemoSettingsPage::trCategory() const QString MaemoSettingsPage::trCategory() const
{ {
return tr(Constants::QT_CATEGORY); return QCoreApplication::translate("Qt4ProjectManager",
Constants::QT_SETTINGS_CATEGORY);
} }
QWidget *MaemoSettingsPage::createPage(QWidget *parent) QWidget *MaemoSettingsPage::createPage(QWidget *parent)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment