refactor: Remove manual high-dpi support

This removes the --scale command line option.
Qt6 seems to have this already integrated to scale according to the
nativ display settings: https://doc.qt.io/qt-6.8/highdpi.html
Adjusting the scale on a per-application basis is not intended (anymore)
according to the documentation.
Tested on a (near) high-dpi screen.
This commit is contained in:
Lars Toenning
2025-07-20 23:45:20 +02:00
parent b5d9dd2f62
commit b4f6e74975
16 changed files with 2 additions and 339 deletions

View File

@@ -20,7 +20,6 @@ using namespace swift::core;
int main(int argc, char *argv[])
{
CGuiApplication::highDpiScreenSupport(CGuiApplication::scaleFactor(argc, argv));
QApplication qa(argc, argv);
Q_UNUSED(qa) // application init needed