Fix warning
This commit is contained in:
parent
2e27310d7b
commit
efaa7cbab1
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ DeviceIndicator::DeviceIndicator(DeviceDbusInterface* device)
|
|||
auto battery = new BatteryAction(device);
|
||||
addAction(battery);
|
||||
setWhenAvailable(device->hasPlugin("kdeconnect_battery"),
|
||||
[this, battery](bool available) { battery->setVisible(available); }
|
||||
[battery](bool available) { battery->setVisible(available); }
|
||||
, this);
|
||||
|
||||
auto browse = addAction(i18n("Browse device"));
|
||||
|
|
Loading…
Reference in a new issue