diff options
author | Black Hat <bhat@encom.eu.org> | 2018-09-16 18:54:12 +0800 |
---|---|---|
committer | Black Hat <bhat@encom.eu.org> | 2018-09-16 18:54:12 +0800 |
commit | e3908964948892633f09cec0df8c5b4d149c9ac7 (patch) | |
tree | 527375f781d90d9b7f4535f05fb1c7d3b812ef43 /lib/user.cpp | |
parent | 52931841d816e2fd128579ef7e51eec1cbd0bb09 (diff) | |
download | libquotient-e3908964948892633f09cec0df8c5b4d149c9ac7.tar.gz libquotient-e3908964948892633f09cec0df8c5b4d149c9ac7.zip |
Remove default avatar.
Diffstat (limited to 'lib/user.cpp')
-rw-r--r-- | lib/user.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/user.cpp b/lib/user.cpp index b9f493c5..eec08ad9 100644 --- a/lib/user.cpp +++ b/lib/user.cpp @@ -44,9 +44,7 @@ class User::Private public: static Avatar makeAvatar(QUrl url) { - static const QIcon icon - { QIcon::fromTheme(QStringLiteral("user-available")) }; - return Avatar(move(url), icon); + return Avatar(move(url)); } Private(QString userId, Connection* connection) |