Merge pull request #3 from albmed/dev

Error: HDPI setting moved to non-android targets
This commit is contained in:
albmed
2018-05-24 18:39:24 +02:00
committed by GitHub
+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;