diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2010-02-20 22:11:11 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2010-02-20 22:11:11 +0000 |
commit | 7f33b7d9fa94d7628a22bef3d296ecbcae18b0e9 (patch) | |
tree | 4f3cb1e5a8f6c0bc9ae7afc7b56a069eafc044cc /rbutil/rbutilqt/configure.cpp | |
parent | 5998a5507d470e53f13a885f2482708c851f4eb8 (diff) | |
download | rockbox-7f33b7d9fa94d7628a22bef3d296ecbcae18b0e9.tar.gz rockbox-7f33b7d9fa94d7628a22bef3d296ecbcae18b0e9.zip |
Recognize and handle MacPods during autodetection.
Previously MacPods were detected but the mountpoint can't get resolved due to
the different partition layout, thus having a MacPod would only detect the Ipod
itself but not the mountpoint. Rockbox does not support MacPods, so inform the
user as soon as possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24799 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/configure.cpp')
-rw-r--r-- | rbutil/rbutilqt/configure.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp index 2e2f2e3531..7507833297 100644 --- a/rbutil/rbutilqt/configure.cpp +++ b/rbutil/rbutilqt/configure.cpp | |||
@@ -616,6 +616,12 @@ void Config::autodetect() | |||
616 | if(detector.errdev() == "h10") | 616 | if(detector.errdev() == "h10") |
617 | text = tr("H10 20GB in MTP mode found!\n" | 617 | text = tr("H10 20GB in MTP mode found!\n" |
618 | "You need to change your player to UMS mode for installation. "); | 618 | "You need to change your player to UMS mode for installation. "); |
619 | if(SystemInfo::platformValue(detector.errdev(), | ||
620 | SystemInfo::CurBootloaderMethod) == "ipod") | ||
621 | text = tr("%1 \"MacPod\" found!\n" | ||
622 | "Rockbox needs a FAT formatted Ipod (so-called \"WinPod\") " | ||
623 | "to run. ").arg(SystemInfo::platformValue( | ||
624 | detector.errdev(), SystemInfo::CurName).toString()); | ||
619 | text += tr("Unless you changed this installation will fail!"); | 625 | text += tr("Unless you changed this installation will fail!"); |
620 | 626 | ||
621 | QMessageBox::critical(this, tr("Fatal error"), text, QMessageBox::Ok); | 627 | QMessageBox::critical(this, tr("Fatal error"), text, QMessageBox::Ok); |