• Michael Reeves's avatar
    Avoid unessarcy EventLoop nesting. · 85052379
    Michael Reeves authored
    EventLoops are a very expensive use of stack memmory. Additionally
    deep nesting as was done in ProgressDialog can cause all sorts fun
    problems. Only one loop is needed for the dialog itself to emulate exec.
    To reenter it use EventLoop::ProcessEvents not a new event loop. Cancel now works without crashing.
progress.h 4.51 KB