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:
parent
541bc0e174
commit
a223510cf7
|
@ -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)
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user