From 1ae1a11c228a245b6befc6cb592d8a1cb4034206 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Sat, 18 Jul 2015 20:27:33 +0200 Subject: Printing: add default case to switch Add default case to fix switch warning. Signed-off-by: Gehad elrobey Signed-off-by: Lubomir I. Ivanov --- qt-ui/templateedit.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') 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: + ; } } -- cgit v1.2.3-70-g09d2