summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-07 23:17:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 22:26:33 -0800
commit809f50753770a6b55cafb0ac5d9dc0a63b47d0d4 (patch)
tree1ed6219e06f0132f4d07c9c7875c96e95eacf326 /desktop-widgets/preferences
parent80a67b7a2734bf117b2c648b1d689ddb17ba2a42 (diff)
downloadsubsurface-809f50753770a6b55cafb0ac5d9dc0a63b47d0d4.tar.gz
preferencesdialog.cpp: silence a switch warning
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets/preferences')
-rw-r--r--desktop-widgets/preferences/preferencesdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp
index 6f3523c0b..6885469c5 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -84,6 +84,7 @@ void PreferencesDialog::buttonClicked(QAbstractButton* btn)
case QDialogButtonBox::AcceptRole : applyRequested(true); return;
case QDialogButtonBox::RejectRole : cancelRequested(); return;
case QDialogButtonBox::ResetRole : defaultsRequested(); return;
+ default: return;
}
}