forked from qt-creator/qt-creator
Symbian: Creator crash when info is downloaded from device
and there is a change in symbian devices connected to
the PC via the USB
Change-Id: Ib57b284978ca42940254c52d5cb4e394c6fd6ceb
Reviewed-on: http://codereview.qt.nokia.com/993
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Paweł Polański <jaggernod@gmail.com>
(cherry picked from commit 445959eb23
)
This commit is contained in:
committed by
Eike Ziller
parent
568f8eb8c5
commit
31817e59dc
@@ -481,6 +481,7 @@ void S60DeployConfigurationWidget::codaEvent(const Coda::CodaEvent &event)
|
||||
switch (event.type()) {
|
||||
case Coda::CodaEvent::LocatorHello: // Commands accepted now
|
||||
codaIncreaseProgress();
|
||||
if (m_codaInfoDevice)
|
||||
m_codaInfoDevice->sendSymbianOsDataGetQtVersionCommand(Coda::CodaCallback(this, &S60DeployConfigurationWidget::getQtVersionCommandResult));
|
||||
break;
|
||||
default:
|
||||
@@ -570,6 +571,7 @@ void S60DeployConfigurationWidget::getQtVersionCommandResult(const Coda::CodaCom
|
||||
}
|
||||
}
|
||||
codaIncreaseProgress();
|
||||
if (m_codaInfoDevice)
|
||||
m_codaInfoDevice->sendSymbianOsDataGetRomInfoCommand(Coda::CodaCallback(this, &S60DeployConfigurationWidget::getRomInfoResult));
|
||||
}
|
||||
|
||||
@@ -595,6 +597,7 @@ void S60DeployConfigurationWidget::getRomInfoResult(const Coda::CodaCommandResul
|
||||
packagesOfInterest.append(CODA_UID);
|
||||
packagesOfInterest.append(QTMOBILITY_UID);
|
||||
packagesOfInterest.append(QTCOMPONENTS_UID);
|
||||
if (m_codaInfoDevice)
|
||||
m_codaInfoDevice->sendSymbianInstallGetPackageInfoCommand(Coda::CodaCallback(this, &S60DeployConfigurationWidget::getInstalledPackagesResult), packagesOfInterest);
|
||||
}
|
||||
|
||||
@@ -649,7 +652,8 @@ void S60DeployConfigurationWidget::getInstalledPackagesResult(const Coda::CodaCo
|
||||
QStringList keys;
|
||||
keys << QLatin1String("EDisplayXPixels");
|
||||
keys << QLatin1String("EDisplayYPixels");
|
||||
//keys << "EMemoryRAMFree";
|
||||
|
||||
if (m_codaInfoDevice)
|
||||
m_codaInfoDevice->sendSymbianOsDataGetHalInfoCommand(Coda::CodaCallback(this, &S60DeployConfigurationWidget::getHalResult), keys);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user