Changeset View
Changeset View
Standalone View
Standalone View
kcms/kfontinst/apps/Installer.cpp
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Line(s) | |||||
122 | } | 122 | } | ||
123 | 123 | | |||
124 | } | 124 | } | ||
125 | 125 | | |||
126 | int main(int argc, char **argv) | 126 | int main(int argc, char **argv) | ||
127 | { | 127 | { | ||
128 | QApplication app(argc, argv); | 128 | QApplication app(argc, argv); | ||
129 | 129 | | |||
130 | app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); | ||||
131 | | ||||
130 | KLocalizedString::setApplicationDomain(KFI_CATALOGUE); | 132 | KLocalizedString::setApplicationDomain(KFI_CATALOGUE); | ||
131 | KAboutData aboutData("kfontinst", i18n("Font Installer"), WORKSPACE_VERSION_STRING, i18n("Simple font installer"), | 133 | KAboutData aboutData("kfontinst", i18n("Font Installer"), WORKSPACE_VERSION_STRING, i18n("Simple font installer"), | ||
132 | KAboutLicense::GPL, i18n("(C) Craig Drummond, 2007")); | 134 | KAboutLicense::GPL, i18n("(C) Craig Drummond, 2007")); | ||
133 | KAboutData::setApplicationData(aboutData); | 135 | KAboutData::setApplicationData(aboutData); | ||
134 | 136 | | |||
135 | QGuiApplication::setWindowIcon(QIcon::fromTheme("preferences-desktop-font-installer")); | 137 | QGuiApplication::setWindowIcon(QIcon::fromTheme("preferences-desktop-font-installer")); | ||
136 | 138 | | |||
137 | QCommandLineParser parser; | 139 | QCommandLineParser parser; | ||
Show All 23 Lines |