Remove unpair from the indicator menu
It's never an urgent action, should be done from the KCM
This commit is contained in:
parent
dc607617f3
commit
a000f82475
1 changed files with 0 additions and 6 deletions
|
@ -97,12 +97,6 @@ DeviceIndicator::DeviceIndicator(DeviceDbusInterface* device)
|
|||
QDBusConnection::sessionBus().call(msg);
|
||||
});
|
||||
setWhenAvailable(device->hasPlugin("kdeconnect_share"), [sendFile](bool available) { sendFile->setEnabled(available); }, this);
|
||||
|
||||
addSeparator();
|
||||
auto unpair = addAction(i18n("Unpair"));
|
||||
connect(unpair, &QAction::triggered, device, [device](){
|
||||
device->unpair();
|
||||
});
|
||||
}
|
||||
|
||||
#include "deviceindicator.moc"
|
||||
|
|
Loading…
Reference in a new issue