From: Philipp Spitzer Date: Wed, 12 Jun 2013 18:59:22 +0000 (+0000) Subject: Added some actions to the mainwindow - otherwise shortcuts don't work on MAEMO (see... X-Git-Tag: 0.6.0~4 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/173399bab633ed3ddba4b41fd98b7df05b3887e6 Added some actions to the mainwindow - otherwise shortcuts don't work on MAEMO (see ticket #28). --- 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 {