aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-12-22 20:56:15 +0100
committerAnders Broman <a.broman58@gmail.com>2014-12-24 17:03:11 +0000
commitbfa9ddfa6cf333e1bb7b3410b0a78a8e6f42f1ca (patch)
tree5bdaeadea353a46ddfb689e331fafd04f454876e /ui
parent4876016bda0e0078d15d3e26df220a782c95376f (diff)
Qt (pref.gui_layout_type): Missing break in switch (CID 1159202 & 1159203)
Change-Id: I28af99cff5db310ef10258e3054afa7337df1e60 Reviewed-on: https://code.wireshark.org/review/5996 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/main_window_slots.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index 77dff1a2b3..f1c965224e 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -254,6 +254,7 @@ void MainWindow::layoutPanes()
case(layout_type_2):
case(layout_type_1):
extra_split_.setOrientation(Qt::Horizontal);
+ /* Fall Through */
case(layout_type_5):
master_split_.setOrientation(Qt::Vertical);
break;
@@ -261,6 +262,7 @@ void MainWindow::layoutPanes()
case(layout_type_4):
case(layout_type_3):
extra_split_.setOrientation(Qt::Vertical);
+ /* Fall Through */
case(layout_type_6):
master_split_.setOrientation(Qt::Horizontal);
break;