Fix fullscreen mode
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 22 Dec 2013 23:48:45 +0000 (00:48 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 22 Dec 2013 23:55:10 +0000 (00:55 +0100)
commit47a6910aed00018c7230cc2cc90ae8e80fa77dda
tree23b61c3ca8e7d7f2e9fd4a8fe02437df336ebc51
parent5d693863a5904e4b29de7b9e243b89ce6fa01288
Fix fullscreen mode

In some setups, the FullScreen action would get out of sync with
the actual window state and thus kick Quassel into an endless loop
and finally a crash when toggling full screen mode.

Turns out reading the docs for KToggleFullScreenAction helped doing
this properly (avoiding this and other bugs when using QWidget's methods).

Thanks to yofel and hays for reporting, and apachelogger for putting
me on the right track for fixing this.

Fixes #1153, fixes #1258.
src/qtui/mainwin.cpp
src/qtui/mainwin.h