aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-05-27 16:51:13 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-05-27 16:51:13 +0900
commit5e6a0b961d1fc2162c5a7498f10bbd1a477f1ece (patch)
tree77117f83c060008caf9605f4582e34d796ad0e6c /connection.cpp
parenta2c08f646bf2d6fe0ce385940b5c1bb7b430d5fb (diff)
downloadlibquotient-5e6a0b961d1fc2162c5a7498f10bbd1a477f1ece.tar.gz
libquotient-5e6a0b961d1fc2162c5a7498f10bbd1a477f1ece.zip
Use nullptr
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);
}