qt5base-lts/tests/auto/widgets/kernel
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
..
qaction normalise signal/slot signatures [QtWidgets tests] 2012-10-19 00:44:54 +02:00
qactiongroup Do the actual removal of the Soft Keys API and related code 2012-10-29 20:27:27 +01:00
qapplication normalise signal/slot signatures [QtWidgets tests] 2012-10-19 00:44:54 +02:00
qboxlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdesktopwidget Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qformlayout Remove Cleanlooks and Plastique 2012-10-22 19:36:43 +02:00
qgridlayout Remove CDE and Motif styles from qtbase 2012-09-27 15:16:16 +02:00
qlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qshortcut normalise signal/slot signatures [QtWidgets tests] 2012-10-19 00:44:54 +02:00
qsizepolicy Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qstackedlayout Fix a regression with regards to hfw behavior in QStackedWidget 2012-10-10 14:22:58 +02:00
qtooltip Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwidget Do not call QWidget::show/hideEvent twice 2012-11-08 15:01:52 +01:00
qwidget_window Fix drag and drop with native widgets 2012-09-27 23:51:30 +02:00
qwidgetaction Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwidgetmetatype Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwidgetsvariant Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
kernel.pro Store the QMetaObject with the QMetaType. 2012-07-01 15:07:10 +02:00