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:
parent
80a12e506a
commit
15ade1b7d5
1 changed files with 1 additions and 2 deletions
|
@ -44,8 +44,7 @@ public:
|
||||||
|
|
||||||
void askPairingConfirmation(Device* device) override
|
void askPairingConfirmation(Device* device) override
|
||||||
{
|
{
|
||||||
KNotification* notification = new KNotification(QStringLiteral("pairingRequest"),
|
KNotification* notification = new KNotification(QStringLiteral("pairingRequest"));
|
||||||
KNotification::Persistent);
|
|
||||||
notification->setIconName(QStringLiteral("dialog-information"));
|
notification->setIconName(QStringLiteral("dialog-information"));
|
||||||
notification->setComponentName(QStringLiteral("kdeconnect"));
|
notification->setComponentName(QStringLiteral("kdeconnect"));
|
||||||
notification->setText(i18n("Pairing request from %1", device->name()));
|
notification->setText(i18n("Pairing request from %1", device->name()));
|
||||||
|
|
Loading…
Reference in a new issue