Changeset View
Changeset View
Standalone View
Standalone View
importer/main.cpp
Show All 34 Lines | |||||
35 | #include <lib/about.h> | 35 | #include <lib/about.h> | ||
36 | #include <lib/imageformats/imageformats.h> | 36 | #include <lib/imageformats/imageformats.h> | ||
37 | #include "importdialog.h" | 37 | #include "importdialog.h" | ||
38 | 38 | | |||
39 | int main(int argc, char *argv[]) | 39 | int main(int argc, char *argv[]) | ||
40 | { | 40 | { | ||
41 | KLocalizedString::setApplicationDomain("gwenview"); | 41 | KLocalizedString::setApplicationDomain("gwenview"); | ||
42 | QApplication app(argc, argv); | 42 | QApplication app(argc, argv); | ||
43 | app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); | ||||
43 | 44 | | |||
44 | QScopedPointer<KAboutData> aboutData( | 45 | QScopedPointer<KAboutData> aboutData( | ||
45 | Gwenview::createAboutData( | 46 | Gwenview::createAboutData( | ||
46 | QStringLiteral("org.kde.gwenview"), /* component name */ | 47 | QStringLiteral("org.kde.gwenview"), /* component name */ | ||
47 | i18n("Gwenview Importer") /* programName */ | 48 | i18n("Gwenview Importer") /* programName */ | ||
48 | )); | 49 | )); | ||
49 | aboutData->setShortDescription(i18n("Photo Importer")); | 50 | aboutData->setShortDescription(i18n("Photo Importer")); | ||
50 | 51 | | |||
Show All 34 Lines |