mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
Made tooltip getDeviceIcon return const string
This commit is contained in:
@@ -96,7 +96,7 @@ uint UPowerTooltip::updateTooltip(Devices& devices) {
|
||||
return deviceCount;
|
||||
}
|
||||
|
||||
std::string UPowerTooltip::getDeviceIcon(UpDeviceKind& kind) {
|
||||
const std::string UPowerTooltip::getDeviceIcon(UpDeviceKind& kind) {
|
||||
switch (kind) {
|
||||
case UP_DEVICE_KIND_LINE_POWER:
|
||||
return "ac-adapter-symbolic";
|
||||
|
Reference in New Issue
Block a user