Error: HDPI setting moved to non-android targets

This commit is contained in:
Albert Medela
2018-05-24 18:33:29 +02:00
parent 8e5b09ac62
commit ad8c9cabfb
+1 -1
View File
@@ -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;