Error: HDPI setting moved to non-android targets
This commit is contained in:
1 parent
8e5b09ac62
commit
ad8c9cabfb
1 file changed
+1
-1
+1
-1
@@ -100,10 +100,10 @@ int main( int argc, char **argv )
|
|||||||
|
|
||||||
/////// can be removed for non-qt-guis ////////////
|
/////// can be removed for non-qt-guis ////////////
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
a.setApplicationName("PokerTH");
|
a.setApplicationName("PokerTH");
|
||||||
#else
|
#else
|
||||||
|
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
SharedTools::QtSingleApplication a( "PokerTH", argc, argv );
|
SharedTools::QtSingleApplication a( "PokerTH", argc, argv );
|
||||||
if (a.sendMessage("Wake up!")) {
|
if (a.sendMessage("Wake up!")) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in new issue
Block a user