Fix build

This commit is contained in:
ymshenyu 2020-03-31 10:35:30 +08:00
parent 77714e47f9
commit e7ed63656d

View File

@ -63,7 +63,7 @@ void MainWindow::MWSetSystemProxy()
auto httpPort = GlobalConfig.inboundConfig.useHTTP ? GlobalConfig.inboundConfig.http_port : 0; auto httpPort = GlobalConfig.inboundConfig.useHTTP ? GlobalConfig.inboundConfig.http_port : 0;
auto socksPort = GlobalConfig.inboundConfig.useSocks ? GlobalConfig.inboundConfig.socks_port : 0; auto socksPort = GlobalConfig.inboundConfig.useSocks ? GlobalConfig.inboundConfig.socks_port : 0;
// //
SetSystemProxy(proxyAddress, httpPort, socksPort); SetSystemProxy(proxyAddress, httpPort, socksPort, usePAC);
hTray.showMessage("Qv2ray", tr("System proxy configured.")); hTray.showMessage("Qv2ray", tr("System proxy configured."));
} }
} }