mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
parent
6a0a16625d
commit
d6009f0e8e
|
@ -2965,7 +2965,7 @@ void MainWindow::latestReleaseReplyReady()
|
||||||
}
|
}
|
||||||
downloadUrl = matchParts.captured(1);
|
downloadUrl = matchParts.captured(1);
|
||||||
if(downloadUrl.startsWith("/")){
|
if(downloadUrl.startsWith("/")){
|
||||||
downloadUrl = latestReleaseReply->request().url().host() + downloadUrl;
|
downloadUrl = latestReleaseReply->request().url().url( QUrl::RemovePath ) + downloadUrl;
|
||||||
}
|
}
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue