From edf0631a1dfa9553a2ae8544a9bce8bebf6abab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Thu, 10 Feb 2022 14:51:23 +0100 Subject: [PATCH] Revert "call processEvents instead of flush (flush has no effect on mac)" as it was provoking some random crashes This reverts commit 1a0c45b7d6137c0e5733eb7509cdc30e9328f1b4. --- src/gui/UBMessageWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/UBMessageWindow.cpp b/src/gui/UBMessageWindow.cpp index 943a92ab..c125f411 100644 --- a/src/gui/UBMessageWindow.cpp +++ b/src/gui/UBMessageWindow.cpp @@ -87,7 +87,7 @@ void UBMessageWindow::showMessage(const QString& message, bool showSpinningWheel // showMessage may have been called from the GUI thread, so make sure the message window is drawn right now repaint(); // I mean it, *right now*, also on Mac - qApp->processEvents(); + qApp->flush(); //qApp->sendPostedEvents(); }