Missing break in case QEvent::WindowStateChange.
The missing break causes state change event handling to fall through to tablet event handling, which is clearly wrong. Change-Id: If19d7b3f794b3614961b9e79952331b0ede1fba1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
9b62b01ddd
commit
528de79f4b
@ -1707,6 +1707,7 @@ bool QWindow::event(QEvent *ev)
|
|||||||
case QEvent::WindowStateChange: {
|
case QEvent::WindowStateChange: {
|
||||||
Q_D(QWindow);
|
Q_D(QWindow);
|
||||||
emit windowStateChanged(d->windowState);
|
emit windowStateChanged(d->windowState);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef QT_NO_TABLETEVENT
|
#ifndef QT_NO_TABLETEVENT
|
||||||
|
Loading…
Reference in New Issue
Block a user