ui/obs-browser-widget: Switch header order to fix Qt AutoMoc bug

Qt's CMake integration does not pass the C++ standard to AutoMoc, resulting in weird parsing issues (see https://bugreports.qt.io/browse/QTBUG-73263).
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-03-10 20:22:48 +01:00
parent db23069eb6
commit 0fa12f1029
2 changed files with 9 additions and 8 deletions

View file

@ -3,9 +3,11 @@
// AUTOGENERATED COPYRIGHT HEADER END
#include "ui-obs-browser-widget.hpp"
#include "plugin.hpp"
#include "warning-disable.hpp"
#include <QGridLayout>
#include <QLabel>
#include "../third-party/obs-studio/plugins/obs-browser/panel/browser-panel.hpp"
#include <mutex>
@ -14,11 +16,10 @@
#include <errno.h>
#include <stdlib.h>
#endif
#include <QGridLayout>
#include <QLabel>
#include "warning-enable.hpp"
#include "plugin.hpp"
streamfx::ui::obs_browser_cef::obs_browser_cef()
{
// Load the "obs-browser" module.

View file

@ -3,15 +3,15 @@
// AUTOGENERATED COPYRIGHT HEADER END
#pragma once
#include "util/util-library.hpp"
#include "warning-disable.hpp"
#include <memory>
#include <QUrl>
#include <QWidget>
#include <memory>
#include "warning-enable.hpp"
#include "util/util-library.hpp"
namespace streamfx::ui {
class obs_browser_cef {
std::shared_ptr<::streamfx::util::library> _module;