aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'connection.cpp')
-rw-r--r--connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp
index 69121930..8d916280 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -177,7 +177,7 @@ User* Connection::user(QString userId)
User *Connection::user()
{
if( d->userId.isEmpty() )
- return 0;
+ return nullptr;
return user(d->userId);
}