for applications that do not create main window (e.g. create dialog window
instead) the tray feature is not enabled
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>