From ce782b44b71279bafb3849aa8059b350f95f8254 Mon Sep 17 00:00:00 2001 From: Palana Date: Wed, 29 Oct 2014 15:54:45 +0100 Subject: [PATCH] Fix Qt unregistered datatype messages --- obs/window-basic-main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index b4b28c429..6329f2a50 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -80,6 +80,10 @@ OBSBasic::OBSBasic(QWidget *parent) { ui->setupUi(this); + qRegisterMetaType ("OBSScene"); + qRegisterMetaType("OBSSceneItem"); + qRegisterMetaType ("OBSSource"); + connect(windowHandle(), &QWindow::screenChanged, [this]() { struct obs_video_info ovi;