forked from qt-creator/qt-creator
Cannot connect to the TRK in some specyfic cases - fixed
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user