CPaster: Replace 0 by nullptr

Change-Id: Ic916a6b464951ea319345333c0c7188852f58d8c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Montel Laurent
2017-02-24 15:33:09 +01:00
committed by Laurent Montel
parent 1704c484a8
commit 1da4966b26
9 changed files with 11 additions and 11 deletions

View File

@@ -94,7 +94,7 @@ void CodePasterServiceImpl::postClipboard()
}
// ---------- CodepasterPlugin
CodepasterPlugin *CodepasterPlugin::m_instance = 0;
CodepasterPlugin *CodepasterPlugin::m_instance = nullptr;
CodepasterPlugin::CodepasterPlugin() :
m_settings(new Settings)
@@ -106,7 +106,7 @@ CodepasterPlugin::~CodepasterPlugin()
{
delete m_urlOpen;
qDeleteAll(m_protocols);
CodepasterPlugin::m_instance = 0;
CodepasterPlugin::m_instance = nullptr;
}
bool CodepasterPlugin::initialize(const QStringList &arguments, QString *errorMessage)