소스 검색

Allow user to theme application icon on Linux

Vignesh B 4 년 전
부모
커밋
845003f6bf
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main.cpp

+ 2 - 2
src/main.cpp

@@ -155,8 +155,8 @@ int main(int argc, char *argv[])
       qputenv("QT_SCALE_FACTOR", scale.toUtf8());
 
     QApplication app(newArgc, newArgv);
-#if defined(Q_OS_WIN) || defined(Q_OS_LINUX)
-    // Setting window icon on OSX will break user ability to change it
+#if defined(Q_OS_WIN)
+    // Setting window icon on OSX or Linux will break user ability to change it
     app.setWindowIcon(QIcon(":/images/icon.png"));
 #endif