path: root/rbutil/rbutilqt/base/autodetection.cpp
diff options
authorDominik Riebeling <>2009-11-22 22:13:25 +0000
committerDominik Riebeling <>2009-11-22 22:13:25 +0000
commit38dde55c27a3f5171a1b7235c8729c4bc8502779 (patch)
tree2a5b32aea0a122ac0d3276b3d5638870296636cc /rbutil/rbutilqt/base/autodetection.cpp
parent46e56582b02f833983c7c9244f3b597424089559 (diff)
FS#10100: Wait for the system to remount the player after bootloader installation.
OS X requires to unmount the player during bootloader installation on Sansas / Ipods. The system remounts the player automatically after a short while. Not waiting for the system to remount the player will result in a changed mount point, making the small / full install write the main build to the wrong location. This currently waits up to 60 seconds for the player to get remounted until it errors out. This value seems to be sufficient, if it's not please report so we can adjust it. Also, the waiting can't be interrupted right now. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/autodetection.cpp')
1 files changed, 0 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/autodetection.cpp b/rbutil/rbutilqt/base/autodetection.cpp
index 50612b58ba..e6bfc440a7 100644
--- a/rbutil/rbutilqt/base/autodetection.cpp
+++ b/rbutil/rbutilqt/base/autodetection.cpp
@@ -26,7 +26,6 @@
#if defined(Q_OS_LINUX) || defined(Q_OS_MACX)
#include <stdio.h>
-#include <usb.h>
#if defined(Q_OS_LINUX)
#include <mntent.h>