Explorar o código

fix build : we should have used ifdef

Lionel CHAZALLON %!s(int64=7) %!d(string=hai) anos
pai
achega
f13a95a517
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main.cpp

+ 1 - 1
src/main.cpp

@@ -165,7 +165,7 @@ int main(int argc, char *argv[])
       qputenv("QT_SCALE_FACTOR", scale.toUtf8());
 
     QApplication app(newArgc, newArgv);
-#if Q_OS_WIN
+#ifdef Q_OS_WIN
     // Setting the icon on Windows is necessary but will break user
     // ability to change icon on OSX
     app.setWindowIcon(QIcon(":/images/icon.png"));