code cleanup: no need for default if we test every case

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2018-09-14 16:49:42 +02:00 committed by Dirk Hohndel
parent 7ab35f7858
commit 77d7e550fe

View file

@ -1236,7 +1236,6 @@ void MainWindow::enterState(CurrentState newState)
on_actionViewProfile_triggered();
break;
case EDIT:
default:
break;
}
}