Ver Fonte

Allow user to theme application icon on Linux

Vignesh B há 3 anos atrás
pai
commit
845003f6bf
1 ficheiros alterados com 2 adições e 2 exclusões
  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