|
@@ -165,7 +165,11 @@ int main(int argc, char *argv[])
|
|
|
qputenv("QT_SCALE_FACTOR", scale.toUtf8());
|
|
|
|
|
|
QApplication app(newArgc, newArgv);
|
|
|
+#if 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"));
|
|
|
+#endif
|
|
|
|
|
|
#if defined(Q_OS_MAC) && defined(NDEBUG)
|
|
|
PFMoveToApplicationsFolderIfNecessary();
|