Skip to content

Commit

Permalink
Remove high DPI scaling for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kelteseth committed Jun 6, 2020
1 parent 49e5b5f commit c3de439
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ScreenPlayWallpaper/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
int main(int argc, char* argv[])
{

QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
// Buggy with every Qt version except 5.14.0!
// Displays wrong DPI scaled monitor resolution
// 4k with 150% scaling to FULL HD on Windows
// https://bugreports.qt.io/browse/QTBUG-81694
//QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);

QApplication app(argc, argv);
Expand Down

0 comments on commit c3de439

Please sign in to comment.