Add a Q_FALLTHROUGH
CID 11161 (#1 of 1): Missing break in switch (MISSING_BREAK) unterminated_case: The case for value Qt::BottomToolBarArea is not terminated by a 'break' statement. Coverity-Id: 11161 Change-Id: Ie254d0339e41a58004632e9997febac4a1ab4edd Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
This commit is contained in:
parent
d1d2ca2b41
commit
fe9be10b92
@ -1621,6 +1621,7 @@ void QWindowsStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPai
|
||||
default:
|
||||
break;
|
||||
}
|
||||
Q_FALLTHROUGH(); // It continues in the end of the next case
|
||||
case Qt::TopToolBarArea :
|
||||
switch(toolbar->positionWithinLine){
|
||||
case QStyleOptionToolBar::Beginning:
|
||||
|
Loading…
x
Reference in New Issue
Block a user