Merge pull request #3 from albmed/dev
Error: HDPI setting moved to non-android targets
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user