forked from qt-creator/qt-creator
iOS: Use the new iOS device icon also for the simulator
Change-Id: Ica8fce4eee4e55e6ec9bc95997c6448d34b8bc23 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
#include "iostoolhandler.h"
|
#include "iostoolhandler.h"
|
||||||
|
|
||||||
#include <projectexplorer/kitinformation.h>
|
#include <projectexplorer/kitinformation.h>
|
||||||
|
#include <utils/icon.h>
|
||||||
#include <utils/port.h>
|
#include <utils/port.h>
|
||||||
|
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
@@ -56,6 +57,10 @@ IosSimulator::IosSimulator(Core::Id id)
|
|||||||
{
|
{
|
||||||
setDisplayName(QCoreApplication::translate("Ios::Internal::IosSimulator", "iOS Simulator"));
|
setDisplayName(QCoreApplication::translate("Ios::Internal::IosSimulator", "iOS Simulator"));
|
||||||
setDeviceState(DeviceReadyToUse);
|
setDeviceState(DeviceReadyToUse);
|
||||||
|
setDeviceIcon({Utils::Icon({{":/ios/images/iosdevicesmall.png",
|
||||||
|
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint),
|
||||||
|
Utils::Icon({{":/ios/images/iosdevice.png",
|
||||||
|
Utils::Theme::IconsBaseColor}})});
|
||||||
}
|
}
|
||||||
|
|
||||||
IosSimulator::IosSimulator()
|
IosSimulator::IosSimulator()
|
||||||
|
|||||||
Reference in New Issue
Block a user