From 8cf46ca68c4f630c03f16a297b31f8bebc1564df Mon Sep 17 00:00:00 2001 From: gxalpha Date: Sat, 20 Aug 2022 16:51:17 +0200 Subject: [PATCH] UI: Properly register VoidFunc in Meta Object System --- UI/obs-app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index cdcd9bfdc..e2900374b 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -1514,7 +1514,7 @@ bool OBSApp::OBSInit() setAttribute(Qt::AA_UseHighDpiPixmaps); #endif - qRegisterMetaType(); + qRegisterMetaType("VoidFunc"); #if !defined(_WIN32) && !defined(__APPLE__) if (QApplication::platformName() == "xcb") {