Commit 017710d6 authored by Laurent Montel's avatar Laurent Montel 😁

Fix icon problem on wayland

parent 4dacc025
......@@ -35,6 +35,7 @@ int main(int argc, char **argv)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setDesktopFileName(QStringLiteral("org.kde.contactprintthemeeditor"));
KLocalizedString::setApplicationDomain("contactprintthemeeditor");
KAboutData aboutData(QStringLiteral("contactprintthemeeditor"),
i18n("Contact Print Theme Editor"),
......
......@@ -31,6 +31,7 @@ int main(int argc, char **argv)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setDesktopFileName(QStringLiteral("org.kde.contactthemeeditor"));
KCrash::initialize();
......
......@@ -37,6 +37,7 @@ int main(int argc, char **argv)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setDesktopFileName(QStringLiteral("org.kde.headerthemeeditor"));
KCrash::initialize();
Kdelibs4ConfigMigrator migrate(QStringLiteral("headerthemeeditor"));
migrate.setConfigFiles(QStringList() << QStringLiteral("headerthemeeditorrc"));
......@@ -54,6 +55,7 @@ int main(int argc, char **argv)
aboutData.setOrganizationDomain(QByteArray("kde.org"));
aboutData.setProductName(QByteArray("headerthemeeditor"));
KAboutData::setApplicationData(aboutData);
QCommandLineParser parser;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment