summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-25 09:30:43 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-25 09:30:43 +0800
commitb7aab36bc1c4bb01f5b26ba63b3daa4caadaaac1 (patch)
tree43cf472be9fcccb2b1415a1b2989bc135e17987e
parent13ecc9db7a6045b7486aa1a6b1423e088057be88 (diff)
Change NULL to nullptr
-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: