[education/rkward] rkward/autotests: Try with less event processing
Thomas Friedrichsmeier
null at kde.org
Sat Jun 11 15:24:21 BST 2022
Git commit 325707c2ac88c5b43fd345d9f57619174d87770a by Thomas Friedrichsmeier.
Committed on 10/06/2022 at 22:00.
Pushed by tfry into branch 'master'.
Try with less event processing
M +1 -1 rkward/autotests/core_test.cpp
https://invent.kde.org/education/rkward/commit/325707c2ac88c5b43fd345d9f57619174d87770a
diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
index fd7d70dd..fd8d4038 100644
--- a/rkward/autotests/core_test.cpp
+++ b/rkward/autotests/core_test.cpp
@@ -54,7 +54,7 @@ private slots:
t.start();
while (!(RInterface::instance()->backendIsDead() || RInterface::instance()->backendIsIdle())) {
if (t.elapsed() > 20000) break;
- qApp->processEvents(QEventLoop::AllEvents);
+ qApp->sendPostedEvents();
}
if (RInterface::instance()->backendIsIdle()) {
qDebug("Startup completed");
More information about the rkward-tracker
mailing list