mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
potential fix for the random tst_QCompleter::QTBUG_14292_filesystem() fails
upstream commits:65fa00b6be
54bd1102ad
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9d43b71b33
commit
20815326bf
1 changed files with 5 additions and 0 deletions
|
@ -1430,6 +1430,11 @@ void tst_QCompleter::QTBUG_14292_filesystem()
|
||||||
edit.setFocus();
|
edit.setFocus();
|
||||||
QTRY_VERIFY(edit.hasFocus());
|
QTRY_VERIFY(edit.hasFocus());
|
||||||
|
|
||||||
|
// Wait for all file system model slots/timers to trigger
|
||||||
|
// until the model sees the subdirectories.
|
||||||
|
QApplication::processEvents();
|
||||||
|
// QTest::qWait(3000);
|
||||||
|
|
||||||
QVERIFY(!comp.popup()->isVisible());
|
QVERIFY(!comp.popup()->isVisible());
|
||||||
edit.setText(tmpDir.path());
|
edit.setText(tmpDir.path());
|
||||||
QTest::keyClick(&edit, '/');
|
QTest::keyClick(&edit, '/');
|
||||||
|
|
Loading…
Add table
Reference in a new issue