mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Merge pull request #803 from xiaoyifang/fix/download
fix: new release check ,download url is incorrect
This commit is contained in:
commit
aa02301cb7
|
@ -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