qt5base-lts/tests/auto/widgets
Oliver Wolff d2e5c7787e Do not call QWidget::show/hideEvent twice
While handling events for Widgets and Windows in QWidgetWindow::event
makes sense for other events, it causes QWidget::show/hideEvent to be
called twice when handled like "the rest". Having that as one case here
seems to be the cleanest solution. Removing the call to showEvent from
QWidgetPrivate::show_helper (as proposed in the bug report) causes
autotests to fail and thus is not a viable option.

Additionally the expected result for the task221221 test for
QDoubleSpinBox was reverted to the Qt4 value as Qt4 behaviour was
restored.

Task-number: QTBUG-27199
Task-number: QTBUG-26424
Task-number: QTBUG-22565

Change-Id: I0ac42b09b1a7618de042d27aa5dd1b3d9f30f552
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
2012-11-08 15:01:52 +01:00
..
dialogs Fix a crash in QFileDialog when selecting an invalid name filter. 2012-10-26 11:51:56 +02:00
effects Make QPen default to 1-width non-cosmetic. 2012-10-22 19:36:43 +02:00
graphicsview Fix: don't override the new non-cosmetic default pen in qwidget 2012-10-25 14:10:04 +02:00
itemviews Mac: refactor scrollbar animations 2012-11-02 19:49:22 +01:00
kernel Do not call QWidget::show/hideEvent twice 2012-11-08 15:01:52 +01:00
styles test: Remove some QSKIP's from tst_QStyle 2012-11-03 11:21:47 +01:00
util normalise signal/slot signatures [QtWidgets tests] 2012-10-19 00:44:54 +02:00
widgets Do not call QWidget::show/hideEvent twice 2012-11-08 15:01:52 +01:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00