forked from qt-creator/qt-creator
iOS: Code cosmetics
Remove unused functions and declarations, brace style, empty lines, ... Change-Id: I1afe90484879fa93bb1feaa25d12cd4794aa0234 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -97,17 +97,6 @@ IDevice::Ptr IosSimulator::clone() const
|
||||
return IDevice::Ptr(new IosSimulator(*this));
|
||||
}
|
||||
|
||||
void IosSimulator::fromMap(const QVariantMap &map)
|
||||
{
|
||||
IDevice::fromMap(map);
|
||||
}
|
||||
|
||||
QVariantMap IosSimulator::toMap() const
|
||||
{
|
||||
QVariantMap res = IDevice::toMap();
|
||||
return res;
|
||||
}
|
||||
|
||||
Utils::Port IosSimulator::nextPort() const
|
||||
{
|
||||
for (int i = 0; i < 100; ++i) {
|
||||
@@ -140,14 +129,7 @@ Utils::OsType IosSimulator::osType() const
|
||||
return Utils::OsTypeMac;
|
||||
}
|
||||
|
||||
IosSimulator::ConstPtr IosKitInformation::simulator(Kit *kit)
|
||||
{
|
||||
if (!kit)
|
||||
return IosSimulator::ConstPtr();
|
||||
IDevice::ConstPtr dev = DeviceKitAspect::device(kit);
|
||||
IosSimulator::ConstPtr res = dev.dynamicCast<const IosSimulator>();
|
||||
return res;
|
||||
}
|
||||
// IosDeviceType
|
||||
|
||||
IosDeviceType::IosDeviceType(IosDeviceType::Type type, const QString &identifier, const QString &displayName) :
|
||||
type(type), identifier(identifier), displayName(displayName)
|
||||
|
||||
Reference in New Issue
Block a user