Changeset View
Changeset View
Standalone View
Standalone View
src/main.cpp
Show All 25 Lines | |||||
26 | // KMahjongg | 26 | // KMahjongg | ||
27 | #include "kmahjongg.h" | 27 | #include "kmahjongg.h" | ||
28 | #include "version.h" | 28 | #include "version.h" | ||
29 | 29 | | |||
30 | static const char description[] = I18N_NOOP("Mahjongg Solitaire by KDE"); | 30 | static const char description[] = I18N_NOOP("Mahjongg Solitaire by KDE"); | ||
31 | 31 | | |||
32 | int main(int argc, char ** argv) | 32 | int main(int argc, char ** argv) | ||
33 | { | 33 | { | ||
34 | // Fixes blurry icons with fractional scaling | ||||
35 | QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); | ||||
34 | QApplication app(argc, argv); | 36 | QApplication app(argc, argv); | ||
35 | 37 | | |||
36 | KLocalizedString::setApplicationDomain("kmahjongg"); | 38 | KLocalizedString::setApplicationDomain("kmahjongg"); | ||
37 | KAboutData aboutData(QStringLiteral("kmahjongg"), i18n("KMahjongg"), | 39 | KAboutData aboutData(QStringLiteral("kmahjongg"), i18n("KMahjongg"), | ||
38 | KMAHJONGG_VERSION, i18n(description), KAboutLicense::GPL, | 40 | KMAHJONGG_VERSION, i18n(description), KAboutLicense::GPL, | ||
39 | i18n("(c) 1997, Mathias Mueller\n(c) 2006, Mauricio Piacentini\n(c) 2011, Christian Krippendorf")); | 41 | i18n("(c) 1997, Mathias Mueller\n(c) 2006, Mauricio Piacentini\n(c) 2011, Christian Krippendorf")); | ||
40 | aboutData.setHomepage(QStringLiteral("https://kde.org/applications/games/org.kde.kmahjongg")); | 42 | aboutData.setHomepage(QStringLiteral("https://kde.org/applications/games/org.kde.kmahjongg")); | ||
41 | aboutData.addAuthor(i18n("Mathias Mueller"), i18n("Original Author"), QStringLiteral("in5y158@public.uni-hamburg.de")); | 43 | aboutData.addAuthor(i18n("Mathias Mueller"), i18n("Original Author"), QStringLiteral("in5y158@public.uni-hamburg.de")); | ||
Show All 35 Lines |