Enable HiDPI support

Reference: issue #3
(cherry picked from commit 63d2dfdf9c)
This commit is contained in:
Luca Beltrame 2015-12-08 23:13:29 +01:00
parent a560b6f7c8
commit 1397dcc61c

View file

@ -67,5 +67,8 @@ int main(int argc, char *argv[])
window->setObjectName("danbooruMainWindow");
window->show();
// Enable HighDPI support
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
return app.exec();
}