forked from qt-creator/qt-creator
Maemo: Fix displaying error output during deployment.
This commit is contained in:
@@ -979,10 +979,12 @@ void MaemoDeployStep::handleDeviceInstallerOutput(const QByteArray &output)
|
|||||||
|
|
||||||
void MaemoDeployStep::handleDeviceInstallerErrorOutput(const QByteArray &output)
|
void MaemoDeployStep::handleDeviceInstallerErrorOutput(const QByteArray &output)
|
||||||
{
|
{
|
||||||
ASSERT_STATE(QList<State>() << InstallingToDevice << StopRequested);
|
ASSERT_STATE(QList<State>() << InstallingToDevice << CopyingFile
|
||||||
|
<< StopRequested);
|
||||||
|
|
||||||
switch (m_state) {
|
switch (m_state) {
|
||||||
case InstallingToDevice:
|
case InstallingToDevice:
|
||||||
|
case CopyingFile:
|
||||||
case StopRequested:
|
case StopRequested:
|
||||||
m_installerStderr += output;
|
m_installerStderr += output;
|
||||||
writeOutput(QString::fromUtf8(output), ErrorOutput);
|
writeOutput(QString::fromUtf8(output), ErrorOutput);
|
||||||
|
Reference in New Issue
Block a user