diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-07-07 15:19:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-07 15:19:00 +0200 |
commit | e225a721807b00297a5733e9d60fe2b5603de77c (patch) | |
tree | 91d9e3ba54a32cb5724f0297dd842b990f065db7 /launcher/LaunchController.cpp | |
parent | 2cb22ad280ec0b540ec6e96759d478c60562bc9a (diff) | |
parent | 13d67c6524a29daea51242d17ba0c6a2b8593747 (diff) | |
download | PrismLauncher-e225a721807b00297a5733e9d60fe2b5603de77c.tar.gz PrismLauncher-e225a721807b00297a5733e9d60fe2b5603de77c.tar.bz2 PrismLauncher-e225a721807b00297a5733e9d60fe2b5603de77c.zip |
Merge pull request #1128 from pandaninjas/fix-implicit-fallthrough
Diffstat (limited to 'launcher/LaunchController.cpp')
-rw-r--r-- | launcher/LaunchController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index 070ee283..5d84b3bf 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -187,8 +187,8 @@ void LaunchController::login() { switch(m_accountToUse->accountState()) { case AccountState::Offline: { m_session->wants_online = false; - // NOTE: fallthrough is intentional } + /* fallthrough */ case AccountState::Online: { if(!m_session->wants_online) { // we ask the user for a player name @@ -267,8 +267,8 @@ void LaunchController::login() { // This means some sort of soft error that we can fix with a refresh ... so let's refresh. case AccountState::Unchecked: { m_accountToUse->refresh(); - // NOTE: fallthrough intentional } + /* fallthrough */ case AccountState::Working: { // refresh is in progress, we need to wait for it to finish to proceed. ProgressDialog progDialog(m_parentWidget); |