Prefer nullptr over Q_NULLPTR

This commit is contained in:
Kevin Funk 2017-01-16 18:17:33 +01:00
parent 218631efce
commit a1c8ea01d7

View file

@ -200,7 +200,7 @@ Interface::Interface() = default;
Interface::Interface(const QXmlStreamAttributes &attributes) Interface::Interface(const QXmlStreamAttributes &attributes)
: m_name(attributes.value(QStringLiteral("name")).toString()) : m_name(attributes.value(QStringLiteral("name")).toString())
, m_version(attributes.value(QStringLiteral("version")).toUInt()) , m_version(attributes.value(QStringLiteral("version")).toUInt())
, m_factory(Q_NULLPTR) , m_factory(nullptr)
{ {
auto it = s_clientClassNameMapping.constFind(m_name); auto it = s_clientClassNameMapping.constFind(m_name);
if (it != s_clientClassNameMapping.constEnd()) { if (it != s_clientClassNameMapping.constEnd()) {