Enable HiDPI support

Reference: issue #3
This commit is contained in:
Luca Beltrame 2015-12-08 23:13:29 +01:00
parent 25980bf20e
commit 63d2dfdf9c

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();
}