diff options
author | Kari Oikarinen <kari.oikarinen@qt.io> | 2018-05-11 16:41:12 +0300 |
---|---|---|
committer | Kari Oikarinen <kari.oikarinen@qt.io> | 2018-05-18 07:09:58 +0000 |
commit | 883d58dacdcddc3f383565251f3c805a20e3d704 (patch) | |
tree | 24e1da18762f0d127ae05b4f5ad3437ec48b4af2 /src/gui/opengl/qopenglfunctions.cpp | |
parent | c359df5ca6c70e254de2014d9a7c02c68017f772 (diff) |
Fix tst_QDoubleSpinBox::editingFinished failing after other tests
Wait for the spinbox to show become active in the previous test. Also use
QWidget::activateWindow() instead of QApplication::setActiveWindow(). Use of the
latter seemed to result in some confusion where QWidget::isActiveWindow()
returned true but QWindow::isActive() on the underlying window returned false,
leading qWaitForWindowActive() to fail.
Also remove superfluous setting of focus. It was just set and verified.
Change-Id: I023cdc2d272e23b2537b32606b7a3bf35bf671ac
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/opengl/qopenglfunctions.cpp')
0 files changed, 0 insertions, 0 deletions