From 8ff5c1a349781810a9166128e7840e0ee281e8ae Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 4 Jan 2023 13:06:53 +0100 Subject: [MERGE] opentrack: add UI_NO_VIDEO_FRAME --- opentrack/main-window.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'opentrack/main-window.hpp') diff --git a/opentrack/main-window.hpp b/opentrack/main-window.hpp index ddb6b725..1dcbd0eb 100644 --- a/opentrack/main-window.hpp +++ b/opentrack/main-window.hpp @@ -8,6 +8,7 @@ #pragma once +#include "opentrack/defs.hpp" #include "api/plugin-support.hpp" #include "gui/mapping-dialog.hpp" #include "gui/options-dialog.hpp" @@ -50,6 +51,11 @@ class main_window final : public QMainWindow, private State Shortcuts global_shortcuts; QShortcut kbd_quit { QKeySequence("Ctrl+Q"), this }; +#ifdef UI_NO_VIDEO_FEED + QWidget fake_video_frame_parent; + QFrame fake_video_frame{&fake_video_frame_parent}; +#endif + std::unique_ptr options_widget; std::unique_ptr mapping_widget; -- cgit v1.2.3