Broken kittens repaired. Aww....
This commit is contained in:
parent
d397f711fe
commit
95c4db25e0
|
@ -163,7 +163,8 @@ AlbumCoverLoader::TryLoadResult AlbumCoverLoader::TryLoadImage(
|
||||||
ScaleAndPad(task.options, taglib_image));
|
ScaleAndPad(task.options, taglib_image));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filename.toLower().startsWith("http://")) {
|
if (filename.toLower().startsWith("http://") ||
|
||||||
|
filename.toLower().startsWith("https://")) {
|
||||||
QUrl url(filename);
|
QUrl url(filename);
|
||||||
QNetworkReply* reply = network_->get(QNetworkRequest(url));
|
QNetworkReply* reply = network_->get(QNetworkRequest(url));
|
||||||
NewClosure(reply, SIGNAL(finished()), this,
|
NewClosure(reply, SIGNAL(finished()), this,
|
||||||
|
|
Loading…
Reference in New Issue