Hardcode device order

Review Request #123256 - Created April 4, 2015 and submitted

Information
Kai Uwe Broulik
plasma-workspace
master
Reviewers
solid

Rather than going through the device type enum backwards where Battery comes second to last, hardcode the order of the device types. Otherwise a device that is both a portable media player and a battery (a phone) shows up as "Battery" in device notifier

Phone no longer shows up as Battery, didn't notice unusual behavior

Lukáš Tinkl
Kai Uwe Broulik
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 6219c8e4877b38962af2e0d5db0f8eaa70c03bb8 by Kai Uwe Broulik to branch master.
Loading...