fix: update capabilities before first-run wizard

On first run, the condition for the wizard would return, before running
updateCapabilities(). This moves that call up, as its only dependency is
the settings system.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-10-06 14:46:12 +02:00
parent e3e9e39498
commit 6ebc9abb80
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -859,12 +859,13 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
qDebug() << "<> Application theme set.";
}
updateCapabilities();
if(createSetupWizard())
{
return;
}
updateCapabilities();
performMainStartupAction();
}