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>
This commit is contained in:
Alexis La Goutte 2014-12-22 20:56:15 +01:00 committed by Anders Broman
parent 4876016bda
commit bfa9ddfa6c
1 changed files with 2 additions and 0 deletions

View File

@ -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;