mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 05:32:40 -05:00
rbutil: Fix style warnings.
Change-Id: I1ddcff60488b2926206309c9ef62f5f9d330da33
This commit is contained in:
parent
6c2780e709
commit
af766ae10e
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue