mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-31 09:34:52 +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) {
|
if (forcefully_embed_basic_header) {
|
||||||
QString concatenated = username + ":" + password;
|
QString concatenated = username + ":" + password;
|
||||||
QByteArray data = concatenated.toLocal8Bit().toBase64();
|
QByteArray data = concatenated.toLocal8Bit().toBase64();
|
||||||
QString headerData = "Basic " + data;
|
QString headerData = QString("Basic ") + data;
|
||||||
|
|
||||||
downloader.appendRawHeader("Authorization", headerData.toLocal8Bit());
|
downloader.appendRawHeader("Authorization", headerData.toLocal8Bit());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user