mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
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:
parent
0091cdcf06
commit
75205b3d37
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user