Changeset View
Changeset View
Standalone View
Standalone View
src/main.cpp
Show All 14 Lines | |||||
15 | #include <QCommandLineParser> | 15 | #include <QCommandLineParser> | ||
16 | #include <KDBusService> | 16 | #include <KDBusService> | ||
17 | #include "kiriki.h" | 17 | #include "kiriki.h" | ||
18 | 18 | | |||
19 | #include "kiriki_version.h" | 19 | #include "kiriki_version.h" | ||
20 | 20 | | |||
21 | int main(int argc, char *argv[]) | 21 | int main(int argc, char *argv[]) | ||
22 | { | 22 | { | ||
23 | // Fixes blurry icons with fractional scaling | ||||
24 | QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); | ||||
23 | QApplication app(argc, argv); | 25 | QApplication app(argc, argv); | ||
24 | 26 | | |||
25 | KLocalizedString::setApplicationDomain("kiriki"); | 27 | KLocalizedString::setApplicationDomain("kiriki"); | ||
26 | KAboutData about(QStringLiteral("kiriki"), i18n("Kiriki"), KIRIKI_VERSION_STRING, i18n("A Yahtzee dice game by KDE"), KAboutLicense::GPL, i18n("© 2005-2007 Albert Astals Cid")); | 28 | KAboutData about(QStringLiteral("kiriki"), i18n("Kiriki"), KIRIKI_VERSION_STRING, i18n("A Yahtzee dice game by KDE"), KAboutLicense::GPL, i18n("© 2005-2007 Albert Astals Cid")); | ||
27 | about.addAuthor(i18n("Albert Astals Cid"), QString(), QStringLiteral("aacid@kde.org")); | 29 | about.addAuthor(i18n("Albert Astals Cid"), QString(), QStringLiteral("aacid@kde.org")); | ||
28 | about.setHomepage(QStringLiteral("https://kde.org/applications/games/org.kde.kiriki")); | 30 | about.setHomepage(QStringLiteral("https://kde.org/applications/games/org.kde.kiriki")); | ||
29 | QCommandLineParser parser; | 31 | QCommandLineParser parser; | ||
30 | KAboutData::setApplicationData(about); | 32 | KAboutData::setApplicationData(about); | ||
Show All 10 Lines |