mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
rbutil: Rework player configuration.
- Split internal configuration into player specific and common parts. Always require passing the player for player specific data instead of implicitly assuming the currently selected one; only use the currently selected one if the player name is explicitly passed as empty. - Similarly adjust handling of server info data; prepare for splitting into build type specific values so the naming becomes cleaner. Change-Id: I894e694f83bd9fe2d22ad46b3f8f7df3e2c68033
This commit is contained in:
parent
440083af87
commit
2509def164
14 changed files with 107 additions and 114 deletions
|
|
@ -408,7 +408,7 @@ BootloaderInstallBase::BootloaderType BootloaderInstallS5l::installed(void)
|
|||
QString logfile = RbSettings::value(RbSettings::Mountpoint).toString()
|
||||
+ "/.rockbox/rbutil.log";
|
||||
QSettings s(logfile, QSettings::IniFormat, this);
|
||||
QString section = SystemInfo::value(
|
||||
QString section = SystemInfo::platformValue(
|
||||
SystemInfo::CurBootloaderName).toString().section('/', -1);
|
||||
rbblInstalled = s.contains("Bootloader/" + section);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue