Remove usage of QWidget::show[FullScreen|Maximized|Minimized|Normal](), they do more then just change the state of the window and all these usage cases were wrong (that is, all their usage). For changing the state, use something like window->setWindowState( window->windowState() | Qt::WindowFullScreen ); // set window->setWindowState( window->windowState() & ~Qt::WindowFullScreen ); // reset or simply use the new KToggleFullScreenAction::setFullScreen() helper.
Remove usage of QWidget::show[FullScreen|Maximized|Minimized|Normal](),
they do more then just change the state of the window and all these usage
cases were wrong (that is, all their usage).
For changing the state, use something like
window->setWindowState( window->windowState() | Qt::WindowFullScreen ); // set
window->setWindowState( window->windowState() & ~Qt::WindowFullScreen ); // reset
or simply use the new KToggleFullScreenAction::setFullScreen() helper.


svn path=/trunk/KDE/kdepim/kleopatra/; revision=784333

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi