diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index c7f1747b..ce4faca1 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -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; }