Init theming support.

This commit is contained in:
Black Hat
2018-09-10 15:01:01 +08:00
parent 4b9c416b4a
commit f66e62d499
10 changed files with 46 additions and 13 deletions

View File

@@ -69,7 +69,7 @@ QVariant UserListModel::data(const QModelIndex& index, int role) const {
}
if (role == AvatarRole) {
if (!user->avatarUrl(m_currentRoom).isEmpty())
return user->avatar(32, m_currentRoom);
return user->avatar(64, m_currentRoom);
return QImage();
}