add title to pairing request notification
This commit is contained in:
parent
7d27ef1417
commit
118d91ae78
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ public:
|
||||||
KNotification* notification = new KNotification(QStringLiteral("pairingRequest"));
|
KNotification* notification = new KNotification(QStringLiteral("pairingRequest"));
|
||||||
notification->setIconName(QStringLiteral("dialog-information"));
|
notification->setIconName(QStringLiteral("dialog-information"));
|
||||||
notification->setComponentName(QStringLiteral("kdeconnect"));
|
notification->setComponentName(QStringLiteral("kdeconnect"));
|
||||||
|
notification->setTitle(QStringLiteral("KDE Connect"));
|
||||||
notification->setText(i18n("Pairing request from %1", device->name().toHtmlEscaped()));
|
notification->setText(i18n("Pairing request from %1", device->name().toHtmlEscaped()));
|
||||||
notification->setActions(QStringList() << i18n("Accept") << i18n("Reject"));
|
notification->setActions(QStringList() << i18n("Accept") << i18n("Reject"));
|
||||||
// notification->setTimeout(PairingHandler::pairingTimeoutMsec());
|
// notification->setTimeout(PairingHandler::pairingTimeoutMsec());
|
||||||
|
|
Loading…
Reference in a new issue