Commit 1c9c6886 authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Disconnect BroadcastStatus from the status bar to avoid crash on exit


Differential Revision:
parent c7f7d6bd
......@@ -91,6 +91,10 @@ KMMainWin::KMMainWin(QWidget *)
// Avoids a crash if there are any Akonadi jobs running, which may
// attempt to display a status message when they are killed.
disconnect(KPIM::BroadcastStatus::instance(), &KPIM::BroadcastStatus::statusMsg, this, nullptr);
KConfigGroup grp(KMKernel::self()->config()->group("Main Window"));
Supports Markdown
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