Remove unpair from the indicator menu

It's never an urgent action, should be done from the KCM
This commit is contained in:
Aleix Pol 2017-02-20 23:27:03 +01:00
parent dc607617f3
commit a000f82475

View file

@ -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"