Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(toxid): Tox ID construction from ToxMe
Browse files Browse the repository at this point in the history
  • Loading branch information
sudden6 committed Dec 30, 2016
1 parent 541bc0e commit a223510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/toxme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/nexus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit a223510

Please sign in to comment.