summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/utils.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-02-20 22:11:08 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-02-20 22:11:08 +0000
commit5998a5507d470e53f13a885f2482708c851f4eb8 (patch)
tree30cce64de78ab54dad79a4e199c0a8350acbab29 /rbutil/rbutilqt/base/utils.cpp
parent773de4a150432e7d2f36598fa59c1b19e8468a3c (diff)
downloadrockbox-5998a5507d470e53f13a885f2482708c851f4eb8.tar.gz
rockbox-5998a5507d470e53f13a885f2482708c851f4eb8.tar.bz2
rockbox-5998a5507d470e53f13a885f2482708c851f4eb8.zip
Update an outdated comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24798 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/utils.cpp')
-rw-r--r--rbutil/rbutilqt/base/utils.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/base/utils.cpp b/rbutil/rbutilqt/base/utils.cpp
index 4125c17205..623dfebe2f 100644
--- a/rbutil/rbutilqt/base/utils.cpp
+++ b/rbutil/rbutilqt/base/utils.cpp
@@ -164,9 +164,7 @@ QString findExecutable(QString name)
/** @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 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.
*/
QString check(bool permission)
@@ -188,7 +186,8 @@ QString check(bool permission)
// Check TargetId
RockboxInfo rbinfo(RbSettings::value(RbSettings::Mountpoint).toString());
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"
"Installed target: %1, selected target: %2.</li>")