Debugger: Modernize

Mostly nullptr instead of 0, but also a few bits of collateral damage.

Change-Id: I921991272aca921dcdecf302dfff3716e79dfc24
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2018-02-01 10:59:24 +01:00
parent 7c41720479
commit 1b87d19a64
38 changed files with 155 additions and 165 deletions

View File

@@ -946,7 +946,7 @@ void DebuggerToolTipHolder::saveSessionData(QXmlStreamWriter &w) const
(by file name and function) acquire the engine, others release.
*/
static DebuggerToolTipManager *m_instance = 0;
static DebuggerToolTipManager *m_instance = nullptr;
DebuggerToolTipManager::DebuggerToolTipManager()
{
@@ -955,7 +955,7 @@ DebuggerToolTipManager::DebuggerToolTipManager()
DebuggerToolTipManager::~DebuggerToolTipManager()
{
m_instance = 0;
m_instance = nullptr;
}
void DebuggerToolTipManager::updateVisibleToolTips()