Fix cmd+Q invalidating the layout somehow
authorromibi <romibi@bluewin.ch>
Sat, 9 Jul 2016 16:30:44 +0000 (18:30 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 28 Feb 2018 22:24:42 +0000 (23:24 +0100)
On Mac OSX Qt Applications (with Frameworks packaged) receive the
CloseEvent twice. (See https://bugreports.qt.io/browse/QTBUG-43344)
This triggers a bug where Quassels Main-Window stays hidden and all
Layout states get reset on next launch.
Workaround by checking if event already received...

Resolves GH-230.

(cherry picked from commit 89175f57858e885d23dac1401f6f14db20ba9002)


No differences found