call processEvents instead of flush (flush has no effect on mac)

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent 9001b88a77
commit 1a0c45b7d6
  1. 2
      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();
}

Loading…
Cancel
Save