Remove another unneeded qWait

This commit is contained in:
Sergio Martins
2020-12-24 11:57:18 +00:00
parent e46b5b2edf
commit 4dd703dcb2

View File

@@ -3067,7 +3067,6 @@ void TestDocks::tst_addAndReadd()
// 1. This just tests some crash I got.
// Make a dock widget float and immediately reattach it
auto m = createMainWindow();
QTest::qWait(10); // the DND state machine needs the event loop to start, otherwise activeState() is nullptr. (for offscreen QPA)
auto dock1 = createDockWidget("dock1", new QPushButton("1"));
m->addDockWidget(dock1, KDDockWidgets::Location_OnLeft);