Commit b6c322ac authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Device Viewer] Add missing Solid battery types

Adds new GamingInputBattery, MonitorBattery and adjusts order to match the Solid enum
parent 608c25e8
......@@ -445,12 +445,12 @@ QVListLayout *SolBatteryDevice::infoPanelLayout()
case Solid::Battery::UpsBattery:
type = i18n("UPS");
break;
case Solid::Battery::MouseBattery:
type = i18n("Mouse");
break;
case Solid::Battery::PrimaryBattery:
type = i18n("Primary");
break;
case Solid::Battery::MouseBattery:
type = i18n("Mouse");
break;
case Solid::Battery::KeyboardBattery:
type = i18n("Keyboard");
break;
......@@ -460,6 +460,15 @@ QVListLayout *SolBatteryDevice::infoPanelLayout()
case Solid::Battery::CameraBattery:
type = i18n("Camera");
break;
case Solid::Battery::PhoneBattery:
type = i18n("Phone");
break;
case Solid::Battery::MonitorBattery:
type = i18nc("Screen", "Monitor");
break;
case Solid::Battery::GamingInputBattery:
type = i18nc("Wireless game pad or joystick battery", "Gaming Input");
break;
default:
type = i18nc("unknown battery type", "Unknown");
}
......
Supports Markdown
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