summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/utils.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-09-25 15:26:59 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-09-25 15:26:59 +0000
commitb9a17dd0ceb1edc3e8d08522f82f9dfeabe53a53 (patch)
treeb1047dbaea6e264d06f95e9227923255a29af1d2 /rbutil/rbutilqt/base/utils.cpp
parentd0bb6d006530403e4027468e9d568a42954cd6f5 (diff)
downloadrockbox-b9a17dd0ceb1edc3e8d08522f82f9dfeabe53a53.tar.gz
rockbox-b9a17dd0ceb1edc3e8d08522f82f9dfeabe53a53.tar.bz2
rockbox-b9a17dd0ceb1edc3e8d08522f82f9dfeabe53a53.zip
Add special handling for ipodvideo64mb when detecting the player via rockbox-info.txt.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/utils.cpp')
-rw-r--r--rbutil/rbutilqt/base/utils.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/utils.cpp b/rbutil/rbutilqt/base/utils.cpp
index aab7f0fed5..066adc3fd4 100644
--- a/rbutil/rbutilqt/base/utils.cpp
+++ b/rbutil/rbutilqt/base/utils.cpp
@@ -233,7 +233,11 @@ RockboxInfo::RockboxInfo(QString mountpoint)
else if(line.contains("Target id:"))
{
m_targetid = line.remove("Target id:").trimmed();
- }
+ }
+ else if(line.contains("Memory:"))
+ {
+ m_ram = line.remove("Memory:").trimmed().toInt();
+ }
}
file.close();