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 ////////////
|
/////// 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