Enable HiDPI support
Reference: issue #3
(cherry picked from commit 63d2dfdf9c
)
This commit is contained in:
parent
a560b6f7c8
commit
1397dcc61c
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue