mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 03:42:09 +01:00
Added suppport for proxy connections (using system proxy settings)
This commit is contained in:
parent
799079392c
commit
19c44f56d6
@ -2,6 +2,7 @@
|
||||
#include <QTranslator>
|
||||
#include <QLocale>
|
||||
#include <QFileOpenEvent>
|
||||
#include <QNetworkProxyFactory>
|
||||
#include "gui.h"
|
||||
#include "app.h"
|
||||
|
||||
@ -18,6 +19,8 @@ App::App(int &argc, char **argv) : QApplication(argc, argv),
|
||||
setAttribute(Qt::AA_DontShowIconsInMenus);
|
||||
#endif // Q_OS_MAC
|
||||
|
||||
QNetworkProxyFactory::setUseSystemConfiguration(true);
|
||||
|
||||
_gui = new GUI();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user