mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 23:22:34 -05:00
rbutil: Rework player configuration.
Rename config entries and remove now unnecessary default value handling. Change-Id: I5c60ef9769fc01f45f45290dafffb80c1962e674
This commit is contained in:
parent
2509def164
commit
be1be797b2
14 changed files with 84 additions and 88 deletions
|
|
@ -381,12 +381,12 @@ QString Utils::checkEnvironment(bool permission)
|
|||
RockboxInfo rbinfo(RbSettings::value(RbSettings::Mountpoint).toString());
|
||||
QString installed = rbinfo.target();
|
||||
if(!installed.isEmpty() && installed !=
|
||||
SystemInfo::platformValue(SystemInfo::CurConfigureModel).toString())
|
||||
SystemInfo::platformValue(SystemInfo::ConfigureModel).toString())
|
||||
{
|
||||
text += tr("<li>Target mismatch detected.<br/>"
|
||||
"Installed target: %1<br/>Selected target: %2.</li>")
|
||||
.arg(SystemInfo::platformValue(SystemInfo::CurPlatformName, installed).toString(),
|
||||
SystemInfo::platformValue(SystemInfo::CurPlatformName).toString());
|
||||
.arg(SystemInfo::platformValue(SystemInfo::PlatformName, installed).toString(),
|
||||
SystemInfo::platformValue(SystemInfo::PlatformName).toString());
|
||||
}
|
||||
|
||||
if(!text.isEmpty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue