If no Symbian device is connected the deployment process will be skipped instead of aborting the whole build.

This commit is contained in:
Pawel Polanski
2010-11-30 09:48:03 +01:00
parent 474fecb69c
commit bc466562ec
2 changed files with 4 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ bool S60DeployStep::init()
delete m_launcher;
m_launcher = 0;
appendMessage(message, true);
return false;
return true;
}
// Prompt the user to start up the Blue tooth connection
const trk::PromptStartCommunicationResult src =
@@ -157,7 +157,7 @@ bool S60DeployStep::init()
delete m_launcher;
m_launcher = 0;
appendMessage(message, true);
return false;
return true;
}
return true;
}
@@ -212,7 +212,7 @@ bool S60DeployStep::processPackageName(QString &errorMessage)
void S60DeployStep::start()
{
if (m_serialPortName.isEmpty()) {
appendMessage(tr("There is no device plugged in."), true);
appendMessage(tr("No device is connected. Please connect a device and try again."), true);
emit finished();
return;
}