Maemo: Display UTFS server stderr output.

This will help us diagnose errors.
This commit is contained in:
Christian Kandeler
2010-08-26 11:17:40 +02:00
parent 4387b47f92
commit a437f824c4
8 changed files with 33 additions and 0 deletions

View File

@@ -110,6 +110,8 @@ void MaemoDeployStep::ctor()
SLOT(handleMountError(QString)));
connect(m_mounter, SIGNAL(reportProgress(QString)), this,
SLOT(handleProgressReport(QString)));
connect(m_mounter, SIGNAL(debugOutput(QString)), this,
SLOT(handleMountDebugOutput(QString)));
}
bool MaemoDeployStep::init()
@@ -429,6 +431,12 @@ void MaemoDeployStep::handleMountError(const QString &errorMsg)
raiseError(errorMsg);
}
void MaemoDeployStep::handleMountDebugOutput(const QString &output)
{
if (!m_stopped)
writeOutput(output, ErrorOutput);
}
void MaemoDeployStep::setupMount()
{
Q_ASSERT(m_needsInstall || !m_filesToCopy.isEmpty());