Symbian: Fixed crash related to the not responding TRK

Task-number: QTCREATORBUG-3349
This commit is contained in:
Pawel Polanski
2010-12-17 10:33:08 +01:00
parent bde8287cdd
commit f78058beda

View File

@@ -213,7 +213,7 @@ void S60DeployStep::start()
{
QString errorMessage;
if (m_serialPortName.isEmpty()) {
if (m_serialPortName.isEmpty() || !m_launcher) {
errorMessage = tr("No device is connected. Please connect a device and try again.");
appendMessage(errorMessage, true);
emit addTask(ProjectExplorer::Task(ProjectExplorer::Task::Error,