diff options
Diffstat (limited to 'tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp')
-rw-r--r-- | tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp b/tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp index 19b8e27b63..aeec0624e8 100644 --- a/tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp +++ b/tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp @@ -33,7 +33,6 @@ static void processEvents() { - QApplication::flush(); QApplication::processEvents(); QApplication::processEvents(); } @@ -174,7 +173,7 @@ void tst_QWidget::update() } } - QApplication::flush(); + QApplication::processEvents(); } void tst_QWidget::updatePartial_data() |