diff --git a/src/homeform.cpp b/src/homeform.cpp index b47a2e3f7..b94785dba 100644 --- a/src/homeform.cpp +++ b/src/homeform.cpp @@ -163,7 +163,11 @@ homeform::homeform(QQmlApplicationEngine *engine, bluetooth *bl) { settings.setValue(sKey + QStringLiteral("enabled"), true); settings.setValue(sKey + QStringLiteral("type"), TEMPLATE_TYPE_WEBSERVER); +#ifndef Q_OS_WIN + // static port on windows to simplify the setup #2144 settings.setValue(sKey + QStringLiteral("port"), 0); +#endif + this->innerTemplateManager = TemplateInfoSenderBuilder::getInstance(innerId, QStringList({QStringLiteral(":/inner_templates/")}), this);