Initialize menus on startup so context shortcuts are activated

git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1524 05730e5d-ab1b-0410-a4ac-84af385074fa
This commit is contained in:
Thorvald Natvig 2009-02-13 01:54:15 +00:00
parent 0091cdcf06
commit 75205b3d37

View File

@ -147,6 +147,11 @@ MainWindow::MainWindow(QWidget *p) : QMainWindow(p) {
QList<QAction *> qla = findChildren<QAction *>();
foreach(QAction *a, qla)
a->setShortcutContext(Qt::ApplicationShortcut);
on_qmServer_aboutToShow();
on_qmChannel_aboutToShow();
on_qmPlayer_aboutToShow();
on_qmConfig_aboutToShow();
setOnTop(g.s.bAlwaysOnTop);
}