소스 검색

fix build : we should have used ifdef

Lionel CHAZALLON 7 년 전
부모
커밋
f13a95a517
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"));