Changeset View
Changeset View
Standalone View
Standalone View
kcms/lookandfeel/lnftool.cpp
Show All 28 Lines | |||||
29 | #include <KAboutData> | 29 | #include <KAboutData> | ||
30 | #include <klocalizedstring.h> | 30 | #include <klocalizedstring.h> | ||
31 | 31 | | |||
32 | #include <KPackage/Package> | 32 | #include <KPackage/Package> | ||
33 | #include <KPackage/PackageLoader> | 33 | #include <KPackage/PackageLoader> | ||
34 | 34 | | |||
35 | int main(int argc, char **argv) | 35 | int main(int argc, char **argv) | ||
36 | { | 36 | { | ||
37 | QApplication app(argc, argv); | 37 | QCoreApplication app(argc, argv); | ||
apol: Is this the same binary as above? If so, it should be `QGuiApplication` at least. | |||||
38 | 38 | | |||
39 | const QString description = i18n("Look and feel tool"); | 39 | const QString description = i18n("Look and feel tool"); | ||
40 | const char version[] = "1.0"; | 40 | const char version[] = "1.0"; | ||
41 | 41 | | |||
42 | // About data | 42 | // About data | ||
43 | KAboutData aboutData("lookandfeeltool", i18n("Look and feel tool"), version, i18n("Command line tool to apply look and feel packages."), KAboutLicense::GPL, i18n("Copyright 2017, Marco Martin")); | 43 | KAboutData aboutData("lookandfeeltool", i18n("Look and feel tool"), version, i18n("Command line tool to apply look and feel packages."), KAboutLicense::GPL, i18n("Copyright 2017, Marco Martin")); | ||
44 | aboutData.addAuthor(i18n("Marco Martin"), i18n("Maintainer"), "mart@kde.org"); | 44 | aboutData.addAuthor(i18n("Marco Martin"), i18n("Maintainer"), "mart@kde.org"); | ||
45 | aboutData.setDesktopFileName("org.kde.lookandfeeltool"); | 45 | aboutData.setDesktopFileName("org.kde.lookandfeeltool"); | ||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |
Is this the same binary as above? If so, it should be QGuiApplication at least.