diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-25 09:29:19 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-25 09:29:19 +0800 |
| commit | c1d0defeb364527218d1187b9be87872282428a8 (patch) | |
| tree | d6c4aec57b69dc626ac48aed80c64bc1568a13bf /client.cxx | |
| parent | ddeb4c5f70dba8644d75a084335b787b642f449e (diff) | |
Change NULL to nullptr
Diffstat (limited to 'client.cxx')
| -rw-r--r-- | client.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -69,14 +69,14 @@ namespace RTClient { void Client::userShow(unsigned int id) { - rtclient_user* user = NULL; + rtclient_user* user = nullptr; rtclient_user_showid(&user, id); emit userShown(user); } void Client::userShow(QString const& name) { - rtclient_user* user = NULL; + rtclient_user* user = nullptr; rtclient_user_showname(&user, name.toLatin1().constData()); emit userShown(user); } @@ -115,7 +115,7 @@ namespace RTClient { void Client::ticketSearch(QString const& owner) { QString query{"Owner='" % owner % "'"}; - rtclient_ticketlist* ticketList = NULL; + rtclient_ticketlist* ticketList = nullptr; rtclient_ticket_search(&ticketList, query.toLatin1().constData()); emit ticketSearched(ticketList); } |