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