Skip to content

Commit

Permalink
main: enable high DPI scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
selsta committed Dec 21, 2019
1 parent 500c7ec commit 1fef418
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/main.cpp
Expand Up @@ -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");
Expand Down

0 comments on commit 1fef418

Please sign in to comment.