diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-05-27 16:51:13 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-05-27 16:51:13 +0900 |
commit | 5e6a0b961d1fc2162c5a7498f10bbd1a477f1ece (patch) | |
tree | 77117f83c060008caf9605f4582e34d796ad0e6c /connection.cpp | |
parent | a2c08f646bf2d6fe0ce385940b5c1bb7b430d5fb (diff) | |
download | libquotient-5e6a0b961d1fc2162c5a7498f10bbd1a477f1ece.tar.gz libquotient-5e6a0b961d1fc2162c5a7498f10bbd1a477f1ece.zip |
Use nullptr
Diffstat (limited to 'connection.cpp')
-rw-r--r-- | connection.cpp | 2 |
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); } |