Skip to content

Commit

Permalink
enable fractional scaling (#4776)
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Usatiuk <stepan@usatiuk.com>
  • Loading branch information
usatiuk committed Jul 28, 2022
1 parent d856e86 commit 770ad08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ int main(int argc, char **argv)

QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#ifdef Q_OS_MAC
Mac::CocoaInitializer cocoaInit; // RIIA
#endif
Expand Down

0 comments on commit 770ad08

Please sign in to comment.