forked from osmocom/wireshark
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:
parent
4876016bda
commit
bfa9ddfa6c
|
@ -254,6 +254,7 @@ void MainWindow::layoutPanes()
|
||||||
case(layout_type_2):
|
case(layout_type_2):
|
||||||
case(layout_type_1):
|
case(layout_type_1):
|
||||||
extra_split_.setOrientation(Qt::Horizontal);
|
extra_split_.setOrientation(Qt::Horizontal);
|
||||||
|
/* Fall Through */
|
||||||
case(layout_type_5):
|
case(layout_type_5):
|
||||||
master_split_.setOrientation(Qt::Vertical);
|
master_split_.setOrientation(Qt::Vertical);
|
||||||
break;
|
break;
|
||||||
|
@ -261,6 +262,7 @@ void MainWindow::layoutPanes()
|
||||||
case(layout_type_4):
|
case(layout_type_4):
|
||||||
case(layout_type_3):
|
case(layout_type_3):
|
||||||
extra_split_.setOrientation(Qt::Vertical);
|
extra_split_.setOrientation(Qt::Vertical);
|
||||||
|
/* Fall Through */
|
||||||
case(layout_type_6):
|
case(layout_type_6):
|
||||||
master_split_.setOrientation(Qt::Horizontal);
|
master_split_.setOrientation(Qt::Horizontal);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue