Browse Source

Fix avatar deletion not visible

pull/2693/head
tux3 10 years ago
parent
commit
9cf0cbde6b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 1
      src/persistence/profile.cpp

1
src/persistence/profile.cpp

@ -410,6 +410,7 @@ void Profile::removeAvatar() @@ -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…
Cancel
Save