Browse Source

UI: Properly register VoidFunc in Meta Object System

gxalpha 3 years ago
parent
commit
8cf46ca68c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/obs-app.cpp

+ 1 - 1
UI/obs-app.cpp

@@ -1514,7 +1514,7 @@ bool OBSApp::OBSInit()
 	setAttribute(Qt::AA_UseHighDpiPixmaps);
 	setAttribute(Qt::AA_UseHighDpiPixmaps);
 #endif
 #endif
 
 
-	qRegisterMetaType<VoidFunc>();
+	qRegisterMetaType<VoidFunc>("VoidFunc");
 
 
 #if !defined(_WIN32) && !defined(__APPLE__)
 #if !defined(_WIN32) && !defined(__APPLE__)
 	if (QApplication::platformName() == "xcb") {
 	if (QApplication::platformName() == "xcb") {