Use Q_NULLPTR instead of 0.

This commit is contained in:
Felix Geyer 2013-04-08 20:10:58 +02:00
parent fd18bc0330
commit 3658a65380

View File

@ -553,7 +553,7 @@ Entry* KeePass2XmlReader::parseEntry(bool history)
{ {
Q_ASSERT(m_xml.isStartElement() && m_xml.name() == "Entry"); Q_ASSERT(m_xml.isStartElement() && m_xml.name() == "Entry");
Entry* entry = 0; Entry* entry = Q_NULLPTR;
while (!m_xml.error() && m_xml.readNextStartElement()) { while (!m_xml.error() && m_xml.readNextStartElement()) {
if (m_xml.name() == "UUID") { if (m_xml.name() == "UUID") {
Uuid uuid = readUuid(); Uuid uuid = readUuid();