Annoying problem with tray icon functionality on Windows #1452
Turns out this broke the Mumble being able to raise itself above fullscreen windows on Windows (see 7d434bb). The issue with activateWindows is possibly a Qt bug and it that case fixing it in Qt should resolve this issue. I won't be able to spend more time on this in the near future so anyone else feel free to pick it up. Ideally a minimal example to reproduce the issue should be created to verify it is an issue with Qt and then reported as a bug.
When clicking the tray icon in rapid succession on windows the next click on it wouldn't register. Analysis showed the signal really didn't reach the handler. It seems like there are some bad things happening when calling activateWindow() in this handler as when it is called this issue disappears. As our setWindowState call should perform window activation anyways we now simply rely on it and remove the other call. Also unified both track click handlers. Fixes mumble-voip#1452