aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2022-11-02 16:38:32 +0000
committerGitHub <noreply@github.com>2022-11-02 16:38:32 +0000
commitcb796dbdfbe2099bc77911c01c8633d9f28aedac (patch)
tree8abadb20c8bf7521a9660583e584878e26ed2243 /launcher/ui/pages/modplatform
parenta29d88c31305deda4136df9ad5046aed60a91afd (diff)
downloadPrismLauncher-cb796dbdfbe2099bc77911c01c8633d9f28aedac.tar.gz
PrismLauncher-cb796dbdfbe2099bc77911c01c8633d9f28aedac.tar.bz2
PrismLauncher-cb796dbdfbe2099bc77911c01c8633d9f28aedac.zip
Remove unnecessary block
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/ui/pages/modplatform')
-rw-r--r--launcher/ui/pages/modplatform/ModPage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/ui/pages/modplatform/ModPage.cpp b/launcher/ui/pages/modplatform/ModPage.cpp
index 6ec283fc..ec6f488f 100644
--- a/launcher/ui/pages/modplatform/ModPage.cpp
+++ b/launcher/ui/pages/modplatform/ModPage.cpp
@@ -308,9 +308,8 @@ void ModPage::openUrl(const QUrl& url)
if (!model->activeJob())
jump();
- else {
+ else
connect(model->activeJob(), &Task::finished, jump);
- }
return;
}