This patch will fix Bug #3220395.
It will ignore spontaneous hideevent signals, which are generated when the user switches the workspace or clicks "minimize" and the minimize to tray option is active.
Mumble should NOT hide itself automatically as this behaviour is not wanted (see Bug referenced above).
Side effects: User can only send Mumble to tray by clicking the tray icon, when minimize to tray is active, similar to how pidgin does it, clicking the "minimize" window button will just minimize it, not hide it.
I am not sure if this will crash on other OSs, but I am confident that it wont.
The call which causes the trouble:
QMetaObject::invokeMethod(this, "hide", Qt::QueuedConnection);
It hides the window, but one isnt able to recover it e.g. by clicking on the tray icon, I dont know why but my patch will work.