From ad8c9cabfb85d8293720d0f14840278d38b5feeb Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Thu, 24 May 2018 18:33:29 +0200 Subject: [PATCH] Error: HDPI setting moved to non-android targets --- src/pokerth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokerth.cpp b/src/pokerth.cpp index cb2fe7d0..e305615f 100755 --- a/src/pokerth.cpp +++ b/src/pokerth.cpp @@ -100,10 +100,10 @@ int main( int argc, char **argv ) /////// can be removed for non-qt-guis //////////// #ifdef ANDROID - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication a(argc, argv); a.setApplicationName("PokerTH"); #else + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); SharedTools::QtSingleApplication a( "PokerTH", argc, argv ); if (a.sendMessage("Wake up!")) { return 0;