Explorar el Código

Allow user to theme application icon on Linux

Vignesh B hace 3 años
padre
commit
845003f6bf
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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