Skip to content
Permalink
Browse files

main: add high DPI for Linux and Windows

  • Loading branch information...
selsta committed Jul 9, 2019
1 parent c7956f7 commit 96105f86b358560a66d52f45c969dc18fb044d0c
Showing with 4 additions and 5 deletions.
  1. +4 −5 main.cpp
@@ -116,11 +116,10 @@ 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 on windows & linux
#if !defined(Q_OS_ANDROID)
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif

QString moneroAccountsDir;
#if defined(Q_OS_WIN) || defined(Q_OS_IOS)

0 comments on commit 96105f8

Please sign in to comment.
You can’t perform that action at this time.