mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-28 02:21:25 +00:00
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:
parent
db23069eb6
commit
0fa12f1029
2 changed files with 9 additions and 8 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue