Added some actions to the mainwindow - otherwise shortcuts don't work on MAEMO (see...
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 12 Jun 2013 18:59:22 +0000 (18:59 +0000)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 12 Jun 2013 18:59:22 +0000 (18:59 +0000)
src/gui/mainwindow.cpp

index ca3b959..7f4608b 100644 (file)
@@ -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 {