Changeset View
Changeset View
Standalone View
Standalone View
src/Main.cpp
Show All 27 Lines | |||||
28 | 28 | | |||
29 | #include <KAboutData> | 29 | #include <KAboutData> | ||
30 | #include <KDBusService> | 30 | #include <KDBusService> | ||
31 | #include <KLocalizedString> | 31 | #include <KLocalizedString> | ||
32 | 32 | | |||
33 | int main(int argc, char **argv) | 33 | int main(int argc, char **argv) | ||
34 | { | 34 | { | ||
35 | // set up the application | 35 | // set up the application | ||
36 | | ||||
37 | QApplication lApp(argc, argv); | 36 | QApplication lApp(argc, argv); | ||
38 | 37 | | |||
39 | lApp.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings, true); | 38 | lApp.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings, true); | ||
40 | lApp.setAttribute(Qt::AA_UseHighDpiPixmaps, true); | 39 | lApp.setAttribute(Qt::AA_UseHighDpiPixmaps, true); | ||
41 | 40 | | |||
42 | KLocalizedString::setApplicationDomain("spectacle"); | 41 | KLocalizedString::setApplicationDomain("spectacle"); | ||
43 | 42 | | |||
44 | KAboutData aboutData(QStringLiteral("spectacle"), | 43 | KAboutData aboutData(QStringLiteral("spectacle"), | ||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |