busimus / cutelog

GUI for logging
MIT License
484 stars 45 forks source link

Add config option to disable use system proxy #17

Closed yangrq1018 closed 3 years ago

yangrq1018 commented 3 years ago

Issue:

I was using a Clash for Windows proxy when starting up cutelog. The following error occurred each time I restarted the server. image

After some googling around, I realized the problem is that QTcpServer will try to follow the system proxy (my proxy port is at 7890) by default. Changing the cutelog listening port won't solve the problem.

The behavior can be disabled by setting QNetworkProxyFactory.setUseSystemConfiguration to False. I added a config option to enable or disable such behavior in the settings dialog as well.

busimus commented 3 years ago

Sorry for taking so long to respond! Thank you for taking the time to make a pull request, I really appreciate it. Merging it now, the changes will land in a release soon.