11 lines
304 B
C++
11 lines
304 B
C++
#include "httpproxyserver.h"
|
|
#include "QDesktopServices"
|
|
#include "settingsrepository.h"
|
|
|
|
void startHTTPServer() {
|
|
if (HttpProxyServer::Instance == 0) {
|
|
quint16 port = SettingsRepository::instance().getLocalServerPort();
|
|
HttpProxyServer::Instance = new HttpProxyServer(port);
|
|
}
|
|
}
|