summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-18 20:27:33 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-20 15:28:45 +0300
commit1ae1a11c228a245b6befc6cb592d8a1cb4034206 (patch)
tree73997db4903f8e7a76c537ee5c7fbc4fc3be62d0
parent7575bb169bd9285250df4ae88f3829dd504fe77f (diff)
downloadsubsurface-1ae1a11c228a245b6befc6cb592d8a1cb4034206.tar.gz
Printing: add default case to switch
Add default case to fix switch warning. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-rw-r--r--qt-ui/templateedit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/templateedit.cpp b/qt-ui/templateedit.cpp
index de69f8cc6..6a6328f64 100644
--- a/qt-ui/templateedit.cpp
+++ b/qt-ui/templateedit.cpp
@@ -141,6 +141,8 @@ void TemplateEdit::on_buttonBox_clicked(QAbstractButton *button)
saveSettings();
updatePreview();
break;
+ default:
+ ;
}
}