Maemo: Fix UTFS server readiness detection.

This commit is contained in:
Christian Kandeler
2010-08-17 14:49:51 +02:00
parent cd57457a16
commit d1f0c171e2
4 changed files with 148 additions and 30 deletions

View File

@@ -557,6 +557,7 @@ void MaemoDeployStep::handleMounted()
void MaemoDeployStep::handleUnmounted()
{
m_mounter->resetMountSpecifications();
if (m_stopped) {
m_canStart = true;
return;
@@ -574,7 +575,7 @@ void MaemoDeployStep::handleUnmounted()
} else {
#ifdef Q_OS_WIN
bool drivesToMount[26];
for (int i = 0; i < sizeof drivesToMount / drivesToMount[0]; ++i)
for (int i = 0; i < sizeof drivesToMount / sizeof drivesToMount[0]; ++i)
drivesToMount[i] = false;
for (int i = 0; i < m_filesToCopy.count(); ++i) {
const QString localDir = QFileInfo(m_filesToCopy.at(i).localFilePath)