Revert "call processEvents instead of flush (flush has no effect on mac)" as it was provoking some random crashes

This reverts commit 1a0c45b7d6.
preferencesAboutTextFull
Clément Fauconnier 2 years ago
parent bef1cb5905
commit edf0631a1d
  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->processEvents();
qApp->flush();
//qApp->sendPostedEvents();
}

Loading…
Cancel
Save