Skip to content

Commit

Permalink
Move setting SETTINGS_GENERAL_FIRSTSTART to end of loadSettings()
Browse files Browse the repository at this point in the history
  • Loading branch information
bear101 committed Oct 3, 2024
1 parent 1508418 commit af16a4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Client/qtTeamTalk/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,8 @@ void MainWindow::loadSettings()

if ((ttSettings->value(SETTINGS_DISPLAY_START_SERVERLIST, SETTINGS_DISPLAY_START_SERVERLIST_DEFAULT).toBool() == true && ttSettings->value(SETTINGS_CONNECTION_AUTOCONNECT, SETTINGS_CONNECTION_AUTOCONNECT_DEFAULT).toBool() == false) && ((TT_GetFlags(ttInst) & CLIENT_CONNECTION) == CLIENT_CLOSED))
slotClientConnect();

ttSettings->setValue(SETTINGS_GENERAL_FIRSTSTART, false);
slotUpdateUI();
}

Expand Down Expand Up @@ -901,7 +903,6 @@ void MainWindow::initialScreenReaderSetup()
}
}
#endif
ttSettings->setValue(SETTINGS_GENERAL_FIRSTSTART, false);
}

bool MainWindow::parseArgs(const QStringList& args)
Expand Down

0 comments on commit af16a4a

Please sign in to comment.