1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2026-02-08 00:32:27 +00:00

Fix sizing issues with fractional scaling.

This commit is contained in:
Filippo Scognamiglio
2025-12-10 00:41:16 +01:00
parent 7038b30381
commit c1082f2e3e

View File

@@ -36,6 +36,7 @@ int main(int argc, char *argv[])
// TODO FILIPPO... This should not be hardcoded but handled as a fallback of sort!
QQuickStyle::setStyle("Material");
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round);
// #if defined (Q_OS_LINUX)
// setenv("QSG_RENDER_LOOP", "threaded", 0);