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:56:13 +0000 (00:56 +0100)
commitac4ff7a1ffdc58f3e6efd37ba6e61ecaa6d51644
treec393a9efb9a010ab2f030eed858b084761901ed8
parente5729ea1e89934d0fde5883d6f41b2126b7b39d6
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