Commit 08d958c1 authored by Tobias Hunger's avatar Tobias Hunger

DeviceManager: Remove some unused code

Change-Id: Ifbf8209ca022f28ee632c945f83b778ba58bfc1a
Reviewed-by: default avatarChristian Kandeler <>
parent 5685d7c5
......@@ -386,11 +386,6 @@ IDevice::ConstPtr DeviceManager::defaultDevice(Core::Id deviceType) const
return id.isValid() ? find(id) : IDevice::ConstPtr();
Core::Id DeviceManager::deviceId(const IDevice::ConstPtr &device) const
return device ? device->id() : Core::Id();
void DeviceManager::ensureOneDefaultDevicePerType()
foreach (const IDevice::Ptr &device, d->devices) {
......@@ -65,7 +65,6 @@ public:
IDevice::ConstPtr findInactiveAutoDetectedDevice(Core::Id type, Core::Id id);
IDevice::ConstPtr defaultDevice(Core::Id deviceType) const;
bool hasDevice(const QString &name) const;
Core::Id deviceId(const IDevice::ConstPtr &device) const;
void addDevice(const IDevice::Ptr &device);
void removeDevice(Core::Id id);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment