diff options
-rw-r--r-- | src/app/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index d42dc045a9..ca82f957b5 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -282,11 +282,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(); |