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:
parent
db2dbf459b
commit
9cf0cbde6b
|
@ -410,6 +410,7 @@ void Profile::removeAvatar()
|
|||
void Profile::removeAvatar(const QString &ownerId)
|
||||
{
|
||||
QFile::remove(avatarPath(ownerId));
|
||||
core->setAvatar({});
|
||||
}
|
||||
|
||||
bool Profile::exists(QString name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user