Skip to content

Commit

Permalink
fix issue with screen not properly going to edge on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
mgn-norm committed Nov 13, 2021
1 parent e6598cb commit 785ce6b
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 @@ -19,6 +19,7 @@ int main(int argc, char *argv[])
#endif

QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round);

#ifndef Q_OS_ANDROID
QApplication app(argc, argv);
Expand Down

0 comments on commit 785ce6b

Please sign in to comment.