fix config loading for server ports
This commit is contained in:
parent
98e4950095
commit
0845105f3e
@ -38,8 +38,8 @@ bool ProxyConfiguration::loadConfiguration(const QString &fileName)
|
|||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
settings.beginGroup("TcpServer");
|
settings.beginGroup("TcpServer");
|
||||||
setWebSocketServerHost(QHostAddress(settings.value("host", "127.0.0.1").toString()));
|
setTcpServerHost(QHostAddress(settings.value("host", "127.0.0.1").toString()));
|
||||||
setWebSocketServerPort(static_cast<quint16>(settings.value("port", 1213).toInt()));
|
setTcpServerPort(static_cast<quint16>(settings.value("port", 1213).toInt()));
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user