summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/main-window.cpp10
-rw-r--r--gui/main-window.hpp2
2 files changed, 11 insertions, 1 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp
index a1e86863..6cf9b56d 100644
--- a/gui/main-window.cpp
+++ b/gui/main-window.cpp
@@ -28,7 +28,15 @@ extern "C" const char* opentrack_version;
MainWindow::MainWindow() :
State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH),
pose_update_timer(this),
- kbd_quit(QKeySequence("Ctrl+Q"), this)
+ kbd_quit(QKeySequence("Ctrl+Q"), this),
+ menu_action_header(&tray_menu),
+ menu_action_show(&tray_menu),
+ menu_action_exit(&tray_menu),
+ menu_action_tracker(&tray_menu),
+ menu_action_filter(&tray_menu),
+ menu_action_proto(&tray_menu),
+ menu_action_options(&tray_menu),
+ menu_action_mappings(&tray_menu)
{
ui.setupUi(this);
setFixedSize(size());
diff --git a/gui/main-window.hpp b/gui/main-window.hpp
index 017055eb..75a66b0e 100644
--- a/gui/main-window.hpp
+++ b/gui/main-window.hpp
@@ -19,6 +19,8 @@
#include "logic/state.hpp"
#include "options/options.hpp"
+#include <QObject>
+#include <QWidget>
#include <QMainWindow>
#include <QKeySequence>
#include <QShortcut>