Skip to content
Commit f3373660 authored by Jan Kundrát's avatar Jan Kundrát
Browse files

GUI: Reduce indirect QDialog::exec calls

QDialog::exec is dangerous because it re-enters the event loop. We've
got a report of a crash that can be traced back to
MainWindow::cacheError which led to further event processing up to
Gui::MainWindow::slotPluginsChanged which tried to manipulate QActins
which weren't really instantiated at that time.

Reported on Haiku (!) by Zoltán Mizsei ("miqlas" on IRC).

Change-Id: Ibd24040c67341961b69cd058253fceadf5a6ea2a
parent bf55689a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment