From f6f46119a65a91b1ce6d1520ed50c27648524204 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 25 Mar 2018 23:05:44 +0300 Subject: Fix CI errors --- src/ChatPage.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ChatPage.cc') 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); -- cgit 1.5.1