diff --git a/zeal/mainwindow.cpp b/zeal/mainwindow.cpp index a498213..3f6ad02 100644 --- a/zeal/mainwindow.cpp +++ b/zeal/mainwindow.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -50,6 +51,9 @@ MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow), settings("Zeal", "Zeal") { + // Use the platform-specific proxy settings + QNetworkProxyFactory::setUseSystemConfiguration(true); + // server for detecting already running instances localServer = new QLocalServer(this); connect(localServer, &QLocalServer::newConnection, [&]() {