[Startup] Run the onboarding wizard before the first-run set dialog (#7349)

On a clean install, checkUnknownSets() fired before the onboarding wizard,
so the legacy 'all the sets have been enabled' welcome and the Manage Sets
dialog appeared first - with no card data there are no sets to manage yet.
Defer the set check until after the wizard closes, suppress its dialogs
while onboarding runs, and enable newly downloaded sets silently instead.

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2026-09-25 08:32:03 +02:00 • committed by GitHub
parent bc26e19564
commit e9cd9453ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 33 additions and 6 deletions

View file

@ -139,7 +139,7 @@ private:
void createTrayIcon();
int getNextCustomSetPrefix(QDir dataDir);
void runFirstRunWizard();
void runFirstRunWizard(bool firstRun = false);
inline QString getCardUpdaterBinaryName()
{
@ -169,6 +169,7 @@ private:
bool bHasActivated, askedForDbUpdater;
bool skipStartupAutoConnect = false;
bool startupAutoConnectAttempted = false;
bool firstRunWizardActive = false;
QProcess *cardUpdateProcess;
QByteArray cardUpdateOutputBuffer;
DlgViewLog *logviewDialog;