mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 23:20:29 -05:00
Block re-entrant progress event processing in notify
This commit is contained in:
1 parent
ef73e82b0a
commit
0a33c49020
1 file changed
+3
@@ -1802,6 +1802,9 @@ bool RiaGuiApplication::notify( QObject* receiver, QEvent* event )
|
||||
return QApplication::notify( receiver, event );
|
||||
}
|
||||
|
||||
// Prevent re-entrant event pumping from progress updates while dispatching events.
|
||||
caf::ProgressInfoEventProcessingBlocker progressEventBlocker;
|
||||
|
||||
bool done = false;
|
||||
try
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user