Changeset View
Changeset View
Standalone View
Standalone View
app/main.cpp
Show All 23 Lines | |||||
24 | #include <QCommandLineParser> | 24 | #include <QCommandLineParser> | ||
25 | #include <KAboutData> | 25 | #include <KAboutData> | ||
26 | 26 | | |||
27 | #include "SystemSettingsApp.h" | 27 | #include "SystemSettingsApp.h" | ||
28 | #include "SettingsBase.h" | 28 | #include "SettingsBase.h" | ||
29 | 29 | | |||
30 | int main( int argc, char *argv[] ) | 30 | int main( int argc, char *argv[] ) | ||
31 | { | 31 | { | ||
32 | //exec is systemsettings5, but we need the QPT to use the right config from the qApp constructor | ||||
33 | //which is before KAboutData::setApplicationData | ||||
34 | QCoreApplication::setApplicicationName("systemsettings"); | ||||
ngraham: "setApplicicationName"? :-) | |||||
32 | SystemSettingsApp application(argc, argv); | 35 | SystemSettingsApp application(argc, argv); | ||
33 | 36 | | |||
34 | KLocalizedString::setApplicationDomain("systemsettings"); | 37 | KLocalizedString::setApplicationDomain("systemsettings"); | ||
35 | 38 | | |||
36 | // About data | 39 | // About data | ||
37 | KAboutData aboutData("systemsettings", i18n("System Settings"), PROJECT_VERSION, i18n("Central configuration center by KDE."), KAboutLicense::GPL, i18n("(c) 2009, Ben Cooksley")); | 40 | KAboutData aboutData("systemsettings", i18n("System Settings"), PROJECT_VERSION, i18n("Central configuration center by KDE."), KAboutLicense::GPL, i18n("(c) 2009, Ben Cooksley")); | ||
38 | aboutData.addAuthor(i18n("Ben Cooksley"), i18n("Maintainer"), "bcooksley@kde.org"); | 41 | aboutData.addAuthor(i18n("Ben Cooksley"), i18n("Maintainer"), "bcooksley@kde.org"); | ||
39 | aboutData.addAuthor(i18n("Mathias Soeken"), i18n("Developer"), "msoeken@informatik.uni-bremen.de"); | 42 | aboutData.addAuthor(i18n("Mathias Soeken"), i18n("Developer"), "msoeken@informatik.uni-bremen.de"); | ||
Show All 24 Lines |
"setApplicicationName"? :-)