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:
Miikka Heikkinen 2012-11-15 15:36:18 +02:00 committed by The Qt Project
parent 9b62b01ddd
commit 528de79f4b

View File

@ -1707,6 +1707,7 @@ bool QWindow::event(QEvent *ev)
case QEvent::WindowStateChange: {
Q_D(QWindow);
emit windowStateChanged(d->windowState);
break;
}
#ifndef QT_NO_TABLETEVENT