diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-10-06 14:46:12 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-10-06 14:46:13 +0200 |
commit | 6ebc9abb8090cdbf78ab71f071ccd1f495eb7c0e (patch) | |
tree | 2061cebcc8d1479770315a25602e9875f06abc41 /launcher | |
parent | e3e9e394985e0327efe882d7b4e4c1d6a6cb6491 (diff) | |
download | PrismLauncher-6ebc9abb8090cdbf78ab71f071ccd1f495eb7c0e.tar.gz PrismLauncher-6ebc9abb8090cdbf78ab71f071ccd1f495eb7c0e.tar.bz2 PrismLauncher-6ebc9abb8090cdbf78ab71f071ccd1f495eb7c0e.zip |
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>
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/Application.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp index e08ea7f4..968dd08e 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -859,12 +859,13 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv) qDebug() << "<> Application theme set."; } + updateCapabilities(); + if(createSetupWizard()) { return; } - updateCapabilities(); performMainStartupAction(); } |