mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Update an outdated comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24798 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
773de4a150
commit
5998a5507d
1 changed files with 2 additions and 3 deletions
|
|
@ -164,9 +164,7 @@ QString findExecutable(QString name)
|
||||||
|
|
||||||
|
|
||||||
/** @brief checks different Enviroment things. Ask if user wants to continue.
|
/** @brief checks different Enviroment things. Ask if user wants to continue.
|
||||||
* @param settings A pointer to rbutils settings class
|
|
||||||
* @param permission if it should check for permission
|
* @param permission if it should check for permission
|
||||||
* @param targetId the targetID to check for. if it is -1 no check is done.
|
|
||||||
* @return string with error messages if problems occurred, empty strings if none.
|
* @return string with error messages if problems occurred, empty strings if none.
|
||||||
*/
|
*/
|
||||||
QString check(bool permission)
|
QString check(bool permission)
|
||||||
|
|
@ -188,7 +186,8 @@ QString check(bool permission)
|
||||||
// Check TargetId
|
// Check TargetId
|
||||||
RockboxInfo rbinfo(RbSettings::value(RbSettings::Mountpoint).toString());
|
RockboxInfo rbinfo(RbSettings::value(RbSettings::Mountpoint).toString());
|
||||||
QString installed = rbinfo.target();
|
QString installed = rbinfo.target();
|
||||||
if(!installed.isEmpty() && installed != SystemInfo::value(SystemInfo::CurConfigureModel).toString())
|
if(!installed.isEmpty() && installed !=
|
||||||
|
SystemInfo::value(SystemInfo::CurConfigureModel).toString())
|
||||||
{
|
{
|
||||||
text += QObject::tr("<li>Target mismatch detected.\n"
|
text += QObject::tr("<li>Target mismatch detected.\n"
|
||||||
"Installed target: %1, selected target: %2.</li>")
|
"Installed target: %1, selected target: %2.</li>")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue