summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/autodetection.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-08-10 19:20:53 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-08-10 19:20:53 +0000
commit84ced00bbd1b86585de508176fa63f09a2faf79b (patch)
tree4f000e70d6b487b102186be58bb2b0414280adb1 /rbutil/rbutilqt/base/autodetection.cpp
parentad7dab615f668274bc35fca5375d1d2facf4f1b8 (diff)
downloadrockbox-84ced00bbd1b86585de508176fa63f09a2faf79b.tar.gz
rockbox-84ced00bbd1b86585de508176fa63f09a2faf79b.tar.bz2
rockbox-84ced00bbd1b86585de508176fa63f09a2faf79b.zip
Simplify and cleanup rockbox-info.txt handling.
Simplify RockboxInfo file handling. Remove Detect::installedVersion() and Detect::installedTarget(), as those became wrappers around RockboxInfo without functionality. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22237 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/autodetection.cpp')
-rw-r--r--rbutil/rbutilqt/base/autodetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/autodetection.cpp b/rbutil/rbutilqt/base/autodetection.cpp
index 386b39057a..5bab1d62d3 100644
--- a/rbutil/rbutilqt/base/autodetection.cpp
+++ b/rbutil/rbutilqt/base/autodetection.cpp
@@ -92,7 +92,7 @@ bool Autodetection::detect()
// check rockbox-info.txt afterwards.
RockboxInfo info(mounts.at(i));
- if(info.open())
+ if(info.success())
{
if(m_device.isEmpty())
{