aboutsummaryrefslogtreecommitdiff
path: root/lib/user.cpp
diff options
context:
space:
mode:
authorBlack Hat <bhat@encom.eu.org>2018-09-16 18:54:12 +0800
committerBlack Hat <bhat@encom.eu.org>2018-09-16 18:54:12 +0800
commite3908964948892633f09cec0df8c5b4d149c9ac7 (patch)
tree527375f781d90d9b7f4535f05fb1c7d3b812ef43 /lib/user.cpp
parent52931841d816e2fd128579ef7e51eec1cbd0bb09 (diff)
downloadlibquotient-e3908964948892633f09cec0df8c5b4d149c9ac7.tar.gz
libquotient-e3908964948892633f09cec0df8c5b4d149c9ac7.zip
Remove default avatar.
Diffstat (limited to 'lib/user.cpp')
-rw-r--r--lib/user.cpp4
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)