diff options
| author | selsta <selsta@sent.at> | 2019-12-21 06:31:25 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-12-21 06:31:25 +0100 |
| commit | 1fef418adb87563306b8111e42f4408e8292bf3f (patch) | |
| tree | 68afe5da15a94eabd2b47c728eef5a75c7a9a547 /src/main/main.cpp | |
| parent | 500c7ec82e1d0d8b0f1fb45e2649a7795d4e5a22 (diff) | |
| download | monzero-gui-1fef418adb87563306b8111e42f4408e8292bf3f.tar.gz monzero-gui-1fef418adb87563306b8111e42f4408e8292bf3f.tar.xz monzero-gui-1fef418adb87563306b8111e42f4408e8292bf3f.zip | |
main: enable high DPI scaling
Diffstat (limited to 'src/main/main.cpp')
| -rw-r--r-- | src/main/main.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp index 6b0a8744..8d710981 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -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"); |
