Commit 43f6e152 authored by Frederik Gladhorn's avatar Frederik Gladhorn

Enable high DPI pixmaps in Gwenview

This make at least the tool bar icons look sensible on High DPI displays.
parent 9e6470b1
......@@ -127,6 +127,7 @@ int main(int argc, char *argv[])
aboutData->setShortDescription(i18n("An Image Viewer"));
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
KAboutData::setApplicationData(*aboutData);
app.setApplicationName(aboutData.data()->componentName());
app.setApplicationDisplayName(aboutData.data()->displayName());
......
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