mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(nexus): Add qRegisterMetaType call for ToxPk
Fixed warning message: QObject::connect: Cannot queue arguments of type 'ToxPk' (Make sure 'ToxPk' is registered using qRegisterMetaType().)
This commit is contained in:
parent
e07d8d358f
commit
328d0b6ddf
|
@ -99,6 +99,7 @@ void Nexus::start()
|
|||
qRegisterMetaType<ToxFile>("ToxFile");
|
||||
qRegisterMetaType<ToxFile::FileDirection>("ToxFile::FileDirection");
|
||||
qRegisterMetaType<std::shared_ptr<VideoFrame>>("std::shared_ptr<VideoFrame>");
|
||||
qRegisterMetaType<ToxPk>("ToxPk");
|
||||
qRegisterMetaType<ToxId>("ToxId");
|
||||
|
||||
loginScreen = new LoginScreen();
|
||||
|
|
Loading…
Reference in New Issue
Block a user