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 e093e43..0127d26 100644
--- a/client.cxx
+++ b/client.cxx
@@ -71,14 +71,14 @@ namespace RTClient {
{
rtclient_user* user = NULL;
rtclient_user_showid(&user, id);
- if (user) emit userShown(user);
+ emit userShown(user);
}
void Client::userShow(QString const& name)
{
rtclient_user* user = NULL;
rtclient_user_showname(&user, name.toLatin1().constData());
- if (user) emit userShown(user);
+ emit userShown(user);
}
void Client::ticketNew(QString const& queue
@@ -117,7 +117,7 @@ namespace RTClient {
QString query = "Owner='" % owner % "'";;
rtclient_ticketlist* ticketList = NULL;
rtclient_ticket_search(&ticketList, query.toLatin1().constData());
- if (ticketList) emit ticketSearched(ticketList);
+ emit ticketSearched(ticketList);
}
Client::~Client()