From 173399bab633ed3ddba4b41fd98b7df05b3887e6 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Wed, 12 Jun 2013 18:59:22 +0000 Subject: [PATCH] Added some actions to the mainwindow - otherwise shortcuts don't work on MAEMO (see ticket #28). --- src/gui/mainwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index ca3b959..7f4608b 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -112,6 +112,12 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent) { // timer connect(alarmTimer, SIGNAL(timeout()), SLOT(onAlarmTimerTimeout())); + // add the actions from the main menu to the window, otherwise the shortcuts don't work on MAEMO + addAction(conferencesAction); + addAction(settingsAction); + addAction(quitAction); + + // open conference useConference(Conference::activeConference()); // optimization, see useConference() code try { -- 2.39.5