From e3908964948892633f09cec0df8c5b4d149c9ac7 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sun, 16 Sep 2018 18:54:12 +0800 Subject: Remove default avatar. --- lib/user.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/user.cpp') 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) -- cgit v1.2.3