#include "httpproxyserver.h" #include "QDesktopServices" #include "settingsrepository.h" void startHTTPServer() { if (HttpProxyServer::Instance == 0) { quint16 port = SettingsRepository::instance().getLocalServerPort(); HttpProxyServer::Instance = new HttpProxyServer(port); } }