Skip to content

Commit

Permalink
Fix problem with HDPI screens
Browse files Browse the repository at this point in the history
On high dpi screens the thml was shown way too small, this let's it
scale properly.
  • Loading branch information
jeena committed May 24, 2021
1 parent 4b80487 commit 3f492b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
app.setOrganizationName("Jeena");
app.setOrganizationDomain("jeena.net");
Expand Down

0 comments on commit 3f492b6

Please sign in to comment.