ios: speed up device debugging

Correctly use the device specific cached symbols to avoid downloading
them from the device (big slowdown).

Task-number: QTCREATORBUG-10884
Change-Id: Ic82482e4b1dadf55f695a67fd420ac1b095a3ca1
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Fawzi Mohamed
2013-12-10 12:53:20 +01:00
parent 55ec629e4d
commit 323a0c6291
7 changed files with 66 additions and 19 deletions

View File

@@ -190,21 +190,11 @@ QString IosDevice::name()
return QCoreApplication::translate("Ios::Internal::IosDevice", "iOS Device");
}
/*
// add back?
QString IosDevice::cpuArchitecure() const
QString IosDevice::osVersion() const
{
return m_extraInfo.value(QLatin1String("deviceInfo")).toMap()
.value(QLatin1String("CPUArchitecture")).toString();
return m_extraInfo.value(QLatin1String("osVersion"));
}
QString IosDevice::productType() const
{
return m_extraInfo.value(QLatin1String("deviceInfo")).toMap()
.value(QLatin1String("ProductType")).toString();
}*/
// IosDeviceManager
@@ -222,6 +212,7 @@ IosDeviceManager::TranslationMap IosDeviceManager::translationMap()
tMap[QLatin1String("NO")] = tr("no");
tMap[QLatin1String("YES")] = tr("yes");
tMap[QLatin1String("*unknown*")] = tr("unknown");
tMap[QLatin1String("osVersion")] = tr("OS version");
translationMap = &tMap;
return tMap;
}