aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/preferences_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-06-30 08:25:44 -0700
committerGerald Combs <gerald@wireshark.org>2016-06-30 16:51:26 +0000
commitb483f8d3cf09b75deeace3fa77489f825e3b6c63 (patch)
tree9d0aab3ad7cc8cdfa6253517af64041298f52fab /ui/qt/preferences_dialog.cpp
parent9ed7568f700dcd7badf9b272968988c3df671675 (diff)
Add missing breaks.
Add a couple of missing breaks. Fixes CIDs 1362970 and 1362971. Change-Id: If37bcfed9b48ba30ce8ed85df6e232a6bc5d36f4 Reviewed-on: https://code.wireshark.org/review/16223 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/preferences_dialog.cpp')
-rw-r--r--ui/qt/preferences_dialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/qt/preferences_dialog.cpp b/ui/qt/preferences_dialog.cpp
index 285ba794f7..d83d1d7c47 100644
--- a/ui/qt/preferences_dialog.cpp
+++ b/ui/qt/preferences_dialog.cpp
@@ -119,7 +119,8 @@ public:
}
default:
break;
- }
+ }
+ break;
case Qt::ToolTipRole:
switch (column) {
case adv_name_col_:
@@ -140,6 +141,7 @@ public:
default:
break;
}
+ break;
case Qt::FontRole:
if (!is_default && treeWidget()) {
QFont font = treeWidget()->font();