From 77d7e550feb6b7d6bce8a470d53fe087af5a1851 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 14 Sep 2018 16:49:42 +0200 Subject: code cleanup: no need for default if we test every case Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- desktop-widgets/mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index f5452b321..99d716fd5 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -1236,7 +1236,6 @@ void MainWindow::enterState(CurrentState newState) on_actionViewProfile_triggered(); break; case EDIT: - default: break; } } -- cgit v1.2.3-70-g09d2