From: Soeren Apel Date: Fri, 7 Nov 2014 16:11:30 +0000 (+0100) Subject: Fix bug #285 by handling device display names through DeviceManager X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=a4cf020a253c8c874ed8652f38a1c61c9a4754a4;hp=a4cf020a253c8c874ed8652f38a1c61c9a4754a4;p=pulseview.git Fix bug #285 by handling device display names through DeviceManager Currently, DeviceManager::device_description() is used to determine how a device should appear in the device selector combobox. This is problematic because bug #285 requests that a device should show the extra information only when multiple such devices are present. Without having access to all devices attached to a particular driver, this cannot be solved. This patch makes it possible by creating each device's display name in the DeviceManager class and storing it there. This way, they can be constructed while having access to all devices and transparently queried by anyone who needs them. With this, bug #285 can easily be solved. ---