1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(toxid): Tox ID construction from ToxMe

This commit is contained in:
sudden6 2016-12-30 12:46:11 +01:00
parent 541bc0e174
commit a223510cf7
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 3 additions and 1 deletions

View File

@ -184,7 +184,7 @@ ToxId Toxme::lookup(QString address)
response.truncate(idEnd);
return ToxId(response);
return ToxId(QString(response));
}
Toxme::ExecCode Toxme::extractError(QString json)

View File

@ -99,6 +99,8 @@ void Nexus::start()
qRegisterMetaType<ToxFile>("ToxFile");
qRegisterMetaType<ToxFile::FileDirection>("ToxFile::FileDirection");
qRegisterMetaType<std::shared_ptr<VideoFrame>>("std::shared_ptr<VideoFrame>");
qRegisterMetaType<ToxId>("ToxId");
qRegisterMetaType<ToxKey>("ToxKey");
loginScreen = new LoginScreen();