comparison base/Preferences.cpp @ 1582:70e172e6cc59 fix-static-analysis

Use nullptr throughout
author Chris Cannam
date Mon, 26 Nov 2018 14:33:41 +0000
parents 07f23b90701a
children 44dba7cd9ec3
comparison
equal deleted inserted replaced
1581:ad5f892c0c4d 1582:70e172e6cc59
23 #include <QFileInfo> 23 #include <QFileInfo>
24 #include <QMutex> 24 #include <QMutex>
25 #include <QSettings> 25 #include <QSettings>
26 26
27 Preferences * 27 Preferences *
28 Preferences::m_instance = 0; 28 Preferences::m_instance = nullptr;
29 29
30 Preferences * 30 Preferences *
31 Preferences::getInstance() 31 Preferences::getInstance()
32 { 32 {
33 if (!m_instance) m_instance = new Preferences(); 33 if (!m_instance) m_instance = new Preferences();