Changeset View
Changeset View
Standalone View
Standalone View
src/main.cpp
Show All 33 Lines | |||||
34 | 34 | | |||
35 | int main(int argc, char **argv) | 35 | int main(int argc, char **argv) | ||
36 | { | 36 | { | ||
37 | QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true); | 37 | QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true); | ||
38 | QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); | 38 | QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); | ||
39 | 39 | | |||
40 | QApplication app(argc, argv); | 40 | QApplication app(argc, argv); | ||
41 | 41 | | |||
42 | KAboutData aboutData(QStringLiteral("kdebugsettings"), i18n("kdebugssettings"), QStringLiteral(KDEBUGSETTINGS_VERSION), | 42 | KAboutData aboutData(QStringLiteral("kdebugsettings"), i18n("KDebugSettings"), QStringLiteral(KDEBUGSETTINGS_VERSION), | ||
43 | i18n("Configure debug settings"), KAboutLicense::GPL_V2, | 43 | i18n("Configure debug settings"), KAboutLicense::GPL_V2, | ||
44 | i18n("(c) 2015-2020 kdebugsettings authors")); | 44 | i18n("(c) 2015-2020 kdebugsettings authors")); | ||
45 | aboutData.addAuthor(i18n("Laurent Montel"), i18n("Maintainer"), QStringLiteral("montel@kde.org")); | 45 | aboutData.addAuthor(i18n("Laurent Montel"), i18n("Maintainer"), QStringLiteral("montel@kde.org")); | ||
46 | KAboutData::setApplicationData(aboutData); | 46 | KAboutData::setApplicationData(aboutData); | ||
47 | 47 | | |||
48 | QCommandLineParser parser; | 48 | QCommandLineParser parser; | ||
49 | aboutData.setupCommandLine(&parser); | 49 | aboutData.setupCommandLine(&parser); | ||
50 | 50 | | |||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |