UI: Properly register VoidFunc in Meta Object System

master
gxalpha 2022-08-20 16:51:17 +02:00 committed by Jim
parent 270d299258
commit 8cf46ca68c
1 changed files with 1 additions and 1 deletions

View File

@ -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") {