mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:58:59 +02:00
Use fromPercentEncoding
to download URL (attempting to get download to run on Mac).
This commit is contained in:
parent
47ce1573eb
commit
d2e31b3f67
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ Downloader::Downloader(QUrl fileURL, QObject *parent) : QObject(parent) {
|
||||||
this, SLOT (fileDownloaded(QNetworkReply*))
|
this, SLOT (fileDownloaded(QNetworkReply*))
|
||||||
);
|
);
|
||||||
|
|
||||||
QNetworkRequest request(fileURL);
|
QNetworkRequest request(QUrl::fromPercentEncoding(fileURL.toString().toLatin1()));
|
||||||
_networkAccessManager.get(request);
|
_networkAccessManager.get(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue