Don't make pairing notifications persistent

If they time-out, they should go.

Albert says it's very important, he'll fix whatever it takes in
KNotifications
This commit is contained in:
Aleix Pol 2017-01-25 01:20:43 +01:00
parent 80a12e506a
commit 15ade1b7d5

View file

@ -44,8 +44,7 @@ public:
void askPairingConfirmation(Device* device) override
{
KNotification* notification = new KNotification(QStringLiteral("pairingRequest"),
KNotification::Persistent);
KNotification* notification = new KNotification(QStringLiteral("pairingRequest"));
notification->setIconName(QStringLiteral("dialog-information"));
notification->setComponentName(QStringLiteral("kdeconnect"));
notification->setText(i18n("Pairing request from %1", device->name()));