aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios/iosdevice.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <[email protected]>2016-11-12 04:16:59 +0100
committerAlessandro Portale <[email protected]>2016-11-30 13:55:38 +0000
commita00ee753fe8e1daf2d764026da7f71d5ed544b57 (patch)
tree6063deeee60ed4b502d3a7a662f185cb592a62e8 /src/plugins/ios/iosdevice.cpp
parent2584366f6e56b1f7052fa6f6d992fe0cac47ef5e (diff)
ProjectExplorer: Introduce IDeviceFactory::iconForId()
This adds the possibility to have an icon for a device type. Now, a Kit can have a proper icon if just the device type but not device is selected. Change-Id: I2a382ffd5b46cbbf74cdd0b934b3d450d300bfff Reviewed-by: Tobias Hunger <[email protected]> Reviewed-by: Vikas Pachdha <[email protected]> Reviewed-by: Alessandro Portale <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosdevice.cpp')
-rw-r--r--src/plugins/ios/iosdevice.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/ios/iosdevice.cpp b/src/plugins/ios/iosdevice.cpp
index e63c4945afb..4945b4cd0a7 100644
--- a/src/plugins/ios/iosdevice.cpp
+++ b/src/plugins/ios/iosdevice.cpp
@@ -31,7 +31,6 @@
#include <projectexplorer/devicesupport/devicemanager.h>
#include <projectexplorer/kitinformation.h>
#include <coreplugin/helpmanager.h>
-#include <utils/icon.h>
#include <utils/portlist.h>
#include <QCoreApplication>
@@ -92,10 +91,6 @@ IosDevice::IosDevice()
ports.addRange(Utils::Port(Constants::IOS_DEVICE_PORT_START),
Utils::Port(Constants::IOS_DEVICE_PORT_END));
setFreePorts(ports);
- setDeviceIcon({Utils::Icon({{":/ios/images/iosdevicesmall.png",
- Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint),
- Utils::Icon({{":/ios/images/iosdevice.png",
- Utils::Theme::IconsBaseColor}})});
}
IosDevice::IosDevice(const IosDevice &other)