summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/systeminfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/systeminfo.cpp')
-rw-r--r--rbutil/rbutilqt/base/systeminfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.cpp b/rbutil/rbutilqt/base/systeminfo.cpp
index dee69a2e1e..f2d47be93d 100644
--- a/rbutil/rbutilqt/base/systeminfo.cpp
+++ b/rbutil/rbutilqt/base/systeminfo.cpp
@@ -70,16 +70,16 @@ const static struct {
{ SystemInfo::PlayerPicture, ":platform:/playerpic", "" },
};
-//! pointer to setting object to NULL
-QSettings* SystemInfo::systemInfos = NULL;
+//! pointer to setting object to nullptr
+QSettings* SystemInfo::systemInfos = nullptr;
void SystemInfo::ensureSystemInfoExists()
{
//check and create settings object
- if(systemInfos == NULL)
+ if(systemInfos == nullptr)
{
// only use built-in rbutil.ini
- systemInfos = new QSettings(":/ini/rbutil.ini", QSettings::IniFormat, 0);
+ systemInfos = new QSettings(":/ini/rbutil.ini", QSettings::IniFormat);
}
}