Maemo: Fix deployment signal handling.

This commit is contained in:
Christian Kandeler
2011-01-17 11:59:50 +01:00
parent e601b3c7cb
commit d2a9631206
2 changed files with 4 additions and 0 deletions

View File

@@ -509,6 +509,7 @@ void MaemoDeployStep::handleMountError(const QString &errorMsg)
case UnmountingOldDirs:
case UnmountingCurrentDirs:
case UnmountingCurrentMounts:
case Mounting:
case StopRequested:
raiseError(errorMsg);
setState(Inactive);
@@ -528,6 +529,7 @@ void MaemoDeployStep::handleMountDebugOutput(const QString &output)
case UnmountingOldDirs:
case UnmountingCurrentDirs:
case UnmountingCurrentMounts:
case Mounting:
case StopRequested:
writeOutput(output, ErrorOutput);
break;
@@ -728,6 +730,7 @@ void MaemoDeployStep::handleProgressReport(const QString &progressMsg)
case UnmountingOldDirs:
case UnmountingCurrentDirs:
case UnmountingCurrentMounts:
case Mounting:
case StopRequested:
writeOutput(progressMsg);
break;

View File

@@ -57,6 +57,7 @@ MaemoRemoteMounter::MaemoRemoteMounter(QObject *parent)
{
connect(m_utfsServerTimer, SIGNAL(timeout()), this,
SLOT(handleUtfsServerTimeout()));
m_utfsServerTimer->setSingleShot(true);
}
MaemoRemoteMounter::~MaemoRemoteMounter()