mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-18 20:01:15 +01:00
Fix compilation.
This commit is contained in:
parent
c4b3a3a2c0
commit
24a1b51b67
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user