summary refs log tree commit diff
path: root/src/ChatPage.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-25 23:05:44 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-25 23:05:44 +0300
commitf6f46119a65a91b1ce6d1520ed50c27648524204 (patch)
tree248f16be34cdb3f2c7416dc529d8a430f43b820c /src/ChatPage.cc
parentReplace std::thread with QtConcurrent (diff)
downloadnheko-f6f46119a65a91b1ce6d1520ed50c27648524204.tar.xz
Fix CI errors
Diffstat (limited to 'src/ChatPage.cc')
-rw-r--r--src/ChatPage.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChatPage.cc b/src/ChatPage.cc
index 0d69c51f..c8cceabf 100644
--- a/src/ChatPage.cc
+++ b/src/ChatPage.cc
@@ -581,7 +581,8 @@ ChatPage::updateOwnProfileInfo(const QUrl &avatar_url, const QString &display_na
 
         if (avatar_url.isValid()) {
                 auto proxy = client_->fetchUserAvatar(avatar_url);
-                if (proxy == nullptr)
+
+                if (proxy.isNull())
                         return;
 
                 proxy->setParent(this);