Changeset View
Changeset View
Standalone View
Standalone View
src/main.cpp
Show All 26 Lines | |||||
27 | #include "kubrick.h" | 27 | #include "kubrick.h" | ||
28 | #include "kubrick_version.h" | 28 | #include "kubrick_version.h" | ||
29 | 29 | | |||
30 | static const char description [] = | 30 | static const char description [] = | ||
31 | I18N_NOOP ("A game based on Rubik's Cube (TM)"); | 31 | I18N_NOOP ("A game based on Rubik's Cube (TM)"); | ||
32 | 32 | | |||
33 | int main(int argc, char **argv) | 33 | int main(int argc, char **argv) | ||
34 | { | 34 | { | ||
35 | // Fixes blurry icons with fractional scaling | ||||
36 | QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); | ||||
35 | QApplication app(argc, argv); | 37 | QApplication app(argc, argv); | ||
36 | 38 | | |||
37 | KLocalizedString::setApplicationDomain("kubrick"); | 39 | KLocalizedString::setApplicationDomain("kubrick"); | ||
38 | 40 | | |||
39 | KAboutData about (QStringLiteral("kubrick"), i18n ("Kubrick"), | 41 | KAboutData about (QStringLiteral("kubrick"), i18n ("Kubrick"), | ||
40 | KUBRICK_VERSION_STRING, i18n (description), | 42 | KUBRICK_VERSION_STRING, i18n (description), | ||
41 | KAboutLicense::GPL, | 43 | KAboutLicense::GPL, | ||
42 | i18n ("© 2008 Ian Wadham"), | 44 | i18n ("© 2008 Ian Wadham"), | ||
Show All 35 Lines |