1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-28 00:23:44 +01:00

main: enable high DPI scaling

This commit is contained in:
selsta 2019-12-21 06:31:25 +01:00
parent 500c7ec82e
commit 1fef418adb
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -170,11 +170,8 @@ int main(int argc, char *argv[])
if (isDesktop) putenv((char*)"QT_QPA_PLATFORM=xcb");
#endif
// // Enable high DPI scaling on windows & linux
//#if !defined(Q_OS_ANDROID) && QT_VERSION >= 0x050600
// QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
// qDebug() << "High DPI auto scaling - enabled";
//#endif
// enable High DPI scaling
qputenv("QT_ENABLE_HIGHDPI_SCALING", "1");
// Turn off colors in monerod log output.
qputenv("TERM", "goaway");