Use C++17 fallthrough

This commit is contained in:
Jonas Kvinge
2022-07-26 20:37:06 +02:00
parent 33581fa61d
commit 98682a2da9
10 changed files with 15 additions and 16 deletions

View File

@@ -963,7 +963,7 @@ MainWindow::MainWindow(Application *app, std::shared_ptr<SystemTrayIcon> tray_ic
if (tray_icon_->IsSystemTrayAvailable() && tray_icon_->isVisible()) {
break;
}
// fallthrough
[[fallthrough]];
case BehaviourSettingsPage::Startup_Remember:
default: {