summaryrefslogtreecommitdiffstats
path: root/MultiMC.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-10-29 22:13:42 +0100
committerPetr Mrázek <peterix@gmail.com>2013-10-29 22:13:42 +0100
commit946d397ccedfe1c116566fce1f86ae4f794e44a4 (patch)
tree5b93c6316c5c2cc5721d9bb99deb0f3298880ea5 /MultiMC.cpp
parente7e03c2b542b1cceda63628dd7ca6fa9c875cfd2 (diff)
downloadMultiMC-946d397ccedfe1c116566fce1f86ae4f794e44a4.tar
MultiMC-946d397ccedfe1c116566fce1f86ae4f794e44a4.tar.gz
MultiMC-946d397ccedfe1c116566fce1f86ae4f794e44a4.tar.lz
MultiMC-946d397ccedfe1c116566fce1f86ae4f794e44a4.tar.xz
MultiMC-946d397ccedfe1c116566fce1f86ae4f794e44a4.zip
Customizable folder browsing is same as for the instance folder. Syste Proxy usage.
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r--MultiMC.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp
index 4e2a5b0b..e425aa44 100644
--- a/MultiMC.cpp
+++ b/MultiMC.cpp
@@ -149,6 +149,9 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
// init the http meta cache
initHttpMetaCache();
+ // set up a basic autodetected proxy (system default)
+ QNetworkProxyFactory::setUseSystemConfiguration(true);
+
// create the global network manager
m_qnam.reset(new QNetworkAccessManager(this));