Skip to content

Commit c54511a

Browse files
committed
Backward compatibility with older Hue setups
1 parent 00aef4f commit c54511a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/led-drivers/net/DriverNetPhilipsHue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ bool LedDevicePhilipsHueBridge::init(QJsonObject deviceConfig)
133133
}
134134
else
135135
{
136-
QUrl url(address);
136+
QUrl url = QUrl::QUrl::fromUserInput(address);
137137

138138
_hostname = url.host();
139139
log("Hostname/IP", "%s", QSTRING_CSTR(_hostname));

0 commit comments

Comments
 (0)