aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/upnp/Service.cpp
diff options
context:
space:
mode:
authorGravatar Alexey Sokolov2016-04-30 18:23:42 +0100
committerGravatar Alexey Sokolov2016-04-30 18:50:44 +0100
commit505d0768f8392e3c4775425dd97f41e1c829ef44 (patch)
tree55dfa35f2e180b4186baf00ffbfd2ee38c0f1c18 /src/modules/upnp/Service.cpp
parentUpdate my clang-format to 3.8.0 (diff)
downloadKVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.gz
KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.bz2
KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.zip
Apply clang-tidy: modernize-use-nullptr
Diffstat (limited to 'src/modules/upnp/Service.cpp')
-rw-r--r--src/modules/upnp/Service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/upnp/Service.cpp b/src/modules/upnp/Service.cpp
index 2b0d87d4e..872393874 100644
--- a/src/modules/upnp/Service.cpp
+++ b/src/modules/upnp/Service.cpp
@@ -73,7 +73,7 @@ namespace UPnP
// TODO: rename to callMethod / callSoapMethod
int Service::callAction(const QString & actionName, const QString & prefix)
{
- return callActionInternal(actionName, 0, prefix);
+ return callActionInternal(actionName, nullptr, prefix);
}
// Makes a UPnP action request
@@ -112,7 +112,7 @@ namespace UPnP
+ prefix + ":" + actionName + " xmlns:" + prefix + "=\"" + m_szServiceType + "\">\n";
// Do we have any arguments?
- if(arguments != 0)
+ if(arguments != nullptr)
{
// Add the arguments
QMap<QString, QString>::const_iterator it;