minor qt5 fix

Former-commit-id: 65ab3bb14d6a7ab52e6ab1e8eaa85321dc5fa543
This commit is contained in:
frostworx 2016-01-22 17:17:45 +01:00
parent 6b052081f7
commit bbfded147e
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ void LedDevicePhilipsHue::put(QString route, QString content) {
QString url = QString("http://%1/api/%2/%3").arg(host).arg(username).arg(route);
// Perfrom request
QNetworkRequest request(url);
QNetworkReply* reply = manager->put(request, content.toAscii());
QNetworkReply* reply = manager->put(request, content.toLatin1());
// Connect finished signal to quit slot of the loop.
QEventLoop loop;
loop.connect(reply, SIGNAL(finished()), SLOT(quit()));