aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios/iosdevice.cpp
diff options
context:
space:
mode:
authorFawzi Mohamed <[email protected]>2013-12-10 12:53:20 +0100
committerFawzi Mohamed <[email protected]>2014-01-08 13:42:43 +0100
commit323a0c6291df7f7ff57ec5b8b32ea1e0eedd8af4 (patch)
treee1405db0f68841c736aa37bc54a182b1a0ff3f6e /src/plugins/ios/iosdevice.cpp
parent55ec629e4d3f9e42878f76a5a216d29394d1ccf8 (diff)
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 <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosdevice.cpp')
-rw-r--r--src/plugins/ios/iosdevice.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/plugins/ios/iosdevice.cpp b/src/plugins/ios/iosdevice.cpp
index a9753cadb11..ba4631be823 100644
--- a/src/plugins/ios/iosdevice.cpp
+++ b/src/plugins/ios/iosdevice.cpp
@@ -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;
}