mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 07:32:35 -05:00
rbutil: Get rid of configure_modelname in rbutil.ini.
The target selection string used for configure is the same as the internally used player string, minus the (optional) variant suffix. Don't duplicate things, simply strip the suffix. Change-Id: Ic34bd5f933fab0d837adce0d0ae9c403868d720d
This commit is contained in:
parent
10f05b3b27
commit
78a01db47c
5 changed files with 2 additions and 68 deletions
|
|
@ -381,7 +381,7 @@ QString Utils::checkEnvironment(bool permission)
|
|||
RockboxInfo rbinfo(RbSettings::value(RbSettings::Mountpoint).toString());
|
||||
QString installed = rbinfo.target();
|
||||
if(!installed.isEmpty() && installed !=
|
||||
SystemInfo::platformValue(SystemInfo::ConfigureModel).toString())
|
||||
RbSettings::value(RbSettings::CurrentPlatform).toString().split(".").at(0))
|
||||
{
|
||||
text += tr("<li>Target mismatch detected.<br/>"
|
||||
"Installed target: %1<br/>Selected target: %2.</li>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue