Commit 053cf855 authored by Pawel Polanski's avatar Pawel Polanski
Browse files

Cannot connect to the TRK in some specyfic cases - fixed

parent 8e2c274d
......@@ -127,6 +127,12 @@ bool S60DeployStep::init()
setDisplayName(tr("Deploy", "Qt4 DeployStep display name."));
QString message;
if (m_launcher) {
trk::Launcher::releaseToDeviceManager(m_launcher);
delete m_launcher;
m_launcher = 0;
}
m_launcher = trk::Launcher::acquireFromDeviceManager(m_serialPortName, this, &message);
if (!message.isEmpty() || !m_launcher) {
if (m_launcher)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment