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 ca3b959b379b31bef531743fe187ac2caad53158..7f4608be73ba5660c2ade9b8e8336d5d2bd4d736 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 {