mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix warning: this statement may fall through
/retroshare-gui/src/gui/GetStartedDialog.cpp:122: warning: this statement may fall through [-Wimplicit-fallthrough=] ui.firewallCheckBox->setChecked(true); /retroshare-gui/src/gui/GetStartedDialog.cpp:124: here case RSCONFIG_USER_LEVEL_CASUAL: /retroshare-gui/src/gui/GetStartedDialog.cpp:125: warning: this statement may fall through [-Wimplicit-fallthrough=] ui.connectCheckBox->setChecked(true); /retroshare-gui/src/gui/GetStartedDialog.cpp:127: here case RSCONFIG_USER_LEVEL_BASIC:
This commit is contained in:
parent
f23c84fd4e
commit
15bc9c1c3c
@ -120,10 +120,10 @@ void GetStartedDialog::updateFromUserLevel()
|
|||||||
case RSCONFIG_USER_LEVEL_POWER:
|
case RSCONFIG_USER_LEVEL_POWER:
|
||||||
case RSCONFIG_USER_LEVEL_OVERRIDE:
|
case RSCONFIG_USER_LEVEL_OVERRIDE:
|
||||||
ui.firewallCheckBox->setChecked(true);
|
ui.firewallCheckBox->setChecked(true);
|
||||||
|
/* fallthrough */
|
||||||
case RSCONFIG_USER_LEVEL_CASUAL:
|
case RSCONFIG_USER_LEVEL_CASUAL:
|
||||||
ui.connectCheckBox->setChecked(true);
|
ui.connectCheckBox->setChecked(true);
|
||||||
|
/* fallthrough */
|
||||||
case RSCONFIG_USER_LEVEL_BASIC:
|
case RSCONFIG_USER_LEVEL_BASIC:
|
||||||
ui.addCheckBox->setChecked(true);
|
ui.addCheckBox->setChecked(true);
|
||||||
ui.inviteCheckBox->setChecked(true);
|
ui.inviteCheckBox->setChecked(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user