Remove unnecessary block

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2022-11-02 16:38:32 +00:00 committed by GitHub
parent a29d88c313
commit cb796dbdfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,9 +308,8 @@ void ModPage::openUrl(const QUrl& url)
if (!model->activeJob()) if (!model->activeJob())
jump(); jump();
else { else
connect(model->activeJob(), &Task::finished, jump); connect(model->activeJob(), &Task::finished, jump);
}
return; return;
} }