Made tooltip getDeviceIcon return const string

This commit is contained in:
Erik Reider
2022-03-19 19:22:21 +01:00
parent 05effad18b
commit c4282cfacc
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class UPowerTooltip : public Gtk::Window {
private:
typedef std::unordered_map<std::string, UpDevice*> Devices;
std::string getDeviceIcon(UpDeviceKind& kind);
const std::string getDeviceIcon(UpDeviceKind& kind);
Gtk::Box* contentBox;