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

fix(avatar): wrong conversion of own ToxId

e07d8d358f broke the loading of the own
avatar

fix #4048
This commit is contained in:
sudden6 2017-01-04 22:45:20 +01:00
parent d223d916c8
commit 0e4cff884d
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -434,7 +434,7 @@ QString Profile::avatarPath(const QString& ownerId, bool forceUnencrypted)
*/
QPixmap Profile::loadAvatar()
{
return loadAvatar(core->getSelfId().getPublicKey().getKey());
return loadAvatar(core->getSelfId().getPublicKey().toString());
}
/**