From 24a1b51b675e14300aa3751a65ef39c4e36df870 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 25 Feb 2016 16:22:27 +0100 Subject: [PATCH] Fix compilation. --- src/network-web/networkfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network-web/networkfactory.cpp b/src/network-web/networkfactory.cpp index dbb175509..7d71c19e8 100755 --- a/src/network-web/networkfactory.cpp +++ b/src/network-web/networkfactory.cpp @@ -161,7 +161,7 @@ NetworkResult NetworkFactory::uploadData(const QString &url, int timeout, const if (forcefully_embed_basic_header) { QString concatenated = username + ":" + password; QByteArray data = concatenated.toLocal8Bit().toBase64(); - QString headerData = "Basic " + data; + QString headerData = QString("Basic ") + data; downloader.appendRawHeader("Authorization", headerData.toLocal8Bit()); }