chromium and some other applications have to catch up on session
restoration, chromium for example cannot even shutdown correctly and
it's a "uh, oh" situation the next time it is launched after logout
(unless closed manually before logout). tabs restoration is not session
restoration btw, not to X11 anyway.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KMediaWindow inherits KXmlGuiWindow which inherits KMainWindow, which
inherits QMainWindow, which has a menuBar() getter that should not be
confused with the KMediaWindow class slot. same goes for
KMediaWindow::menubar() (now named KMediaWindow::slotMenubar()) and
QMainWindow::menuBar()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>