aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2018-09-14 16:49:42 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-15 15:51:26 -0700
commit77d7e550feb6b7d6bce8a470d53fe087af5a1851 (patch)
treedc8d7e40523387e6bf8c1e2301c4721a174bda31 /desktop-widgets
parent7ab35f7858c8d840cf098de82f6b6265e4ec7b8b (diff)
downloadsubsurface-77d7e550feb6b7d6bce8a470d53fe087af5a1851.tar.gz
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>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mainwindow.cpp1
1 files changed, 0 insertions, 1 deletions
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;
}
}