forked from qt-creator/qt-creator
iOS: Unify translation of iOS-Device.
Change-Id: I01374545ec3882a1dc9b08adccf4632f38438efb Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -42,9 +42,7 @@ IosDeviceFactory::IosDeviceFactory()
|
||||
|
||||
QString IosDeviceFactory::displayNameForId(Core::Id type) const
|
||||
{
|
||||
if (type == Constants::IOS_DEVICE_TYPE)
|
||||
return tr("iOS Device");
|
||||
return QString();
|
||||
return type == Constants::IOS_DEVICE_TYPE ? IosDevice::name() : QString();
|
||||
}
|
||||
|
||||
QList<Core::Id> IosDeviceFactory::availableCreationIds() const
|
||||
|
||||
Reference in New Issue
Block a user