[handler] Enable highdpi pixmaps

This commit is contained in:
Nicolas Fella 2021-10-11 18:23:42 +02:00
parent 5dfbd6bb9a
commit 83f8b1ceba

View file

@ -36,6 +36,7 @@
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication app(argc, argv); QApplication app(argc, argv);
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect"))); app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect")));
const QString description = i18n("KDE Connect URL handler"); const QString description = i18n("KDE Connect URL handler");