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

Fix avatar deletion not visible

This commit is contained in:
tux3 2015-12-15 20:59:09 +01:00
parent db2dbf459b
commit 9cf0cbde6b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -410,6 +410,7 @@ void Profile::removeAvatar()
void Profile::removeAvatar(const QString &ownerId)
{
QFile::remove(avatarPath(ownerId));
core->setAvatar({});
}
bool Profile::exists(QString name)