summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-23 13:26:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-23 13:26:30 +0200
commit812effa709a77485d1301540db9174df62afdf2d (patch)
treee0de26a38f5aa07bd54e58e67f78bc3bd5fa4e52 /gui
parent06122e9e302d8bd9e66a413a27af55b0171b86a2 (diff)
gui/main-window: fix build on some Debian Qt5
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>