summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-13 21:55:56 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-15 21:25:51 +0100
commitaf766ae10eb10685bfd81124738b167294b7a8f2 (patch)
tree290bde604f9cc6eb89b0a7b490b41d9d2f1758ba /rbutil/rbutilqt
parent6c2780e70916dea5159aad6b7de815beef769c85 (diff)
downloadrockbox-af766ae10eb10685bfd81124738b167294b7a8f2.tar.gz
rockbox-af766ae10eb10685bfd81124738b167294b7a8f2.tar.bz2
rockbox-af766ae10eb10685bfd81124738b167294b7a8f2.zip
rbutil: Fix style warnings.
Change-Id: I1ddcff60488b2926206309c9ef62f5f9d330da33
Diffstat (limited to 'rbutil/rbutilqt')
-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);
}
}