Browse Source

fix(toxid): Tox ID construction from ToxMe

reviewable/pr4029/r1
sudden6 9 years ago
parent
commit
a223510cf7
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
  1. 2
      src/net/toxme.cpp
  2. 2
      src/nexus.cpp

2
src/net/toxme.cpp

@ -184,7 +184,7 @@ ToxId Toxme::lookup(QString address) @@ -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)

2
src/nexus.cpp

@ -99,6 +99,8 @@ void Nexus::start() @@ -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…
Cancel
Save