diff --git a/src/app/main.cpp b/src/app/main.cpp
index ea944903089af4f04b5d09ca9072990b2f512bcc..8920bb95991741537ca655c22a1e29683be7f0c7 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -284,11 +284,13 @@ int main(int argc, char **argv)
                             proxyUrl.port(), proxyUrl.userName(), proxyUrl.password());
         QNetworkProxy::setApplicationProxy(proxy);
     }
-#if defined(Q_OS_MAC)
+# if defined(Q_OS_MAC) // unix and mac
     else {
         QNetworkProxyFactory::setUseSystemConfiguration(true);
     }
-#endif
+# endif
+#else // windows
+    QNetworkProxyFactory::setUseSystemConfiguration(true);
 #endif
     // Load
     const QStringList pluginPaths = getPluginPaths();