summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'client.cxx')
-rw-r--r--client.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.cxx b/client.cxx
index 38501e5..1e34666 100644
--- a/client.cxx
+++ b/client.cxx
@@ -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);
}