Fixed random http port due to uninitialized _port (#29)

This commit is contained in:
penfold42 2016-06-20 23:51:34 +10:00 committed by brindosch
parent b971c39b07
commit 1cb6ee0a43
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ WebConfig::WebConfig(QObject * parent)
_hyperion = Hyperion::getInstance();
const Json::Value &config = _hyperion->getJsonConfig();
_baseUrl = QString::fromStdString(WEBCONFIG_DEFAULT_PATH);
_port = WEBCONFIG_DEFAULT_PORT;
bool webconfigEnable = true;