qt6-bb10/tests/auto/widgets
Martin Koller 6a31466951 ensure signal subWindowActivated() triggers even when widget has focus
A widget being added to QMdiArea which currently has focus
did not trigger the subWindowActivated() signal
since the connection to the method _q_processWindowStateChanged, which
emits the signal (set up in appendChild()), was just done after
the focus was set back again to the added widget.
Setting the focus makes the widget active.
This patch changes the order: first call appendChild(), then set focus

Change-Id: I3aaf1728dc082d1323c7fbd62bfdbd2af87ab2ce
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2019-02-21 07:23:40 +00:00
..
dialogs QtWidgets: mark QFileDialog functions as deprecated 2019-02-12 17:12:41 +00:00
effects qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
graphicsview Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-15 01:00:51 +01:00
itemviews Merge remote-tracking branch 'origin/5.13' into dev 2019-02-20 09:51:12 +01:00
kernel Deduplicate QWidgetPrivate::invalidateBuffer 2019-02-12 13:32:14 +00:00
styles Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
util Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
widgets ensure signal subWindowActivated() triggers even when widget has focus 2019-02-21 07:23:40 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00