Skip to content

Commit

Permalink
Qt6: fix font rendering on help window
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltca committed Oct 18, 2023
1 parent 9052018 commit afbf70e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/kvirc/kernel/KviApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ KviApplication::KviApplication(int & argc, char ** argv)
setPalette(style()->standardPalette());
}
#endif

// Restore Qt5-like rounding to fix HiDPI support on QWebEngine
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round);
}

void KviApplication::setup()
Expand Down

0 comments on commit afbf70e

Please sign in to comment.