mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01: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