diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2016-10-06 09:54:23 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2016-10-06 17:38:03 +0000 |
commit | eacee5bb4a9829eff824b56ae33407a41ad8d620 (patch) | |
tree | 1aac4c3dcc512b2e721f0de8ee04fa6a4f8f746c /src/plugins | |
parent | 83e128c2d961482151b63bb1701530d7bcb4282b (diff) | |
download | qt-creator-eacee5bb4a9829eff824b56ae33407a41ad8d620.tar.gz |
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>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/ios/iossimulator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/ios/iossimulator.cpp b/src/plugins/ios/iossimulator.cpp index a5c0bf3965..77a4dac87c 100644 --- a/src/plugins/ios/iossimulator.cpp +++ b/src/plugins/ios/iossimulator.cpp @@ -28,6 +28,7 @@ #include "iostoolhandler.h" #include <projectexplorer/kitinformation.h> +#include <utils/icon.h> #include <utils/port.h> #include <QCoreApplication> @@ -56,6 +57,10 @@ IosSimulator::IosSimulator(Core::Id id) { setDisplayName(QCoreApplication::translate("Ios::Internal::IosSimulator", "iOS Simulator")); 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() |