read proper settings in upnpdiscovery
This commit is contained in:
parent
424150dc8a
commit
101ddc2331
@ -141,9 +141,12 @@ void UpnpDiscovery::respondToSearchRequest(QHostAddress host, int port)
|
|||||||
QByteArray uuid = globalSettings.value("uuid", QUuid()).toByteArray();
|
QByteArray uuid = globalSettings.value("uuid", QUuid()).toByteArray();
|
||||||
globalSettings.endGroup();
|
globalSettings.endGroup();
|
||||||
|
|
||||||
|
globalSettings.beginGroup("SSL");
|
||||||
|
bool useSsl = globalSettings.value("enabled", true).toBool();
|
||||||
|
globalSettings.endGroup();
|
||||||
|
|
||||||
globalSettings.beginGroup("WebServer");
|
globalSettings.beginGroup("WebServer");
|
||||||
int serverPort = globalSettings.value("port", 3333).toInt();
|
int serverPort = globalSettings.value("port", 3333).toInt();
|
||||||
bool useSsl = globalSettings.value("https", false).toBool();
|
|
||||||
globalSettings.endGroup();
|
globalSettings.endGroup();
|
||||||
|
|
||||||
foreach (const QNetworkInterface &interface, QNetworkInterface::allInterfaces()) {
|
foreach (const QNetworkInterface &interface, QNetworkInterface::allInterfaces()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user