summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.cxx4
-rw-r--r--qicclient/client.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/client.cxx b/client.cxx
index 6cf6114..f9cf9b2 100644
--- a/client.cxx
+++ b/client.cxx
@@ -16,8 +16,8 @@ namespace ICClient {
void Client::logIn(QString const& username, QString const& password)
{
icclient_login(username.toLatin1().constData()
- , password.toLatin1().constData(), NULL, NULL
- , NULL);
+ , password.toLatin1().constData(), nullptr, nullptr
+ , nullptr);
emit loggedIn(username);
}
diff --git a/qicclient/client.hxx b/qicclient/client.hxx
index aac8fb6..14c3652 100644
--- a/qicclient/client.hxx
+++ b/qicclient/client.hxx
@@ -10,7 +10,7 @@ namespace ICClient {
Q_OBJECT
public:
- Client(char const* url, char const* certificate = NULL);
+ Client(char const* url, char const* certificate = nullptr);
~Client();
public slots: