From 1a0c45b7d6137c0e5733eb7509cdc30e9328f1b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Thu, 10 Feb 2022 14:23:01 +0100 Subject: [PATCH] call processEvents instead of flush (flush has no effect on mac) --- 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 c125f411..943a92ab 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->flush(); + qApp->processEvents(); //qApp->sendPostedEvents(); }