1
0
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:
Diadlo 2017-01-04 06:46:15 +03:00
parent e07d8d358f
commit 328d0b6ddf
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -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();