diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-12-21 18:12:46 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-12-21 18:12:46 -0500 |
| commit | 710159a236b5239c5676c89f7b4a7c1b175497b9 (patch) | |
| tree | 63826f0915cf284684b555dabfee6fb1ffd5c201 /src | |
| parent | 7afbcc985520fcca2d78916e0a7e2d5868060fb2 (diff) | |
| parent | 1fef418adb87563306b8111e42f4408e8292bf3f (diff) | |
| download | monzero-gui-710159a236b5239c5676c89f7b4a7c1b175497b9.tar.gz monzero-gui-710159a236b5239c5676c89f7b4a7c1b175497b9.tar.xz monzero-gui-710159a236b5239c5676c89f7b4a7c1b175497b9.zip | |
Merge pull request #2670
1fef418 main: enable high DPI scaling (selsta)
Diffstat (limited to 'src')
| -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"); |
