aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/upnp/Service.cpp
diff options
context:
space:
mode:
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;