Przeglądaj źródła

UI: Properly register VoidFunc in Meta Object System

gxalpha 3 lat temu
rodzic
commit
8cf46ca68c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      UI/obs-app.cpp

+ 1 - 1
UI/obs-app.cpp

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