UI: Properly register VoidFunc in Meta Object System
parent
270d299258
commit
8cf46ca68c
|
@ -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") {
|
||||||
|
|
Loading…
Reference in New Issue