Merge branch '1.x'
This commit is contained in:
commit
0667c6556f
3 changed files with 5 additions and 1 deletions
|
@ -47,7 +47,7 @@ public:
|
|||
KNotification* notification = new KNotification(QStringLiteral("pairingRequest"));
|
||||
notification->setIconName(QStringLiteral("dialog-information"));
|
||||
notification->setComponentName(QStringLiteral("kdeconnect"));
|
||||
notification->setText(i18n("Pairing request from %1", device->name()));
|
||||
notification->setText(i18n("Pairing request from %1", device->name().toHtmlEscaped()));
|
||||
notification->setActions(QStringList() << i18n("Accept") << i18n("Reject"));
|
||||
// notification->setTimeout(PairingHandler::pairingTimeoutMsec());
|
||||
connect(notification, &KNotification::action1Activated, device, &Device::acceptPairing);
|
||||
|
|
|
@ -156,6 +156,9 @@
|
|||
<property name="text">
|
||||
<string>Device</string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::PlainText</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
|
|
@ -102,6 +102,7 @@ PlasmaComponents.ListItem
|
|||
elide: Text.ElideRight
|
||||
text: display
|
||||
Layout.fillWidth: true
|
||||
textFormat: Text.PlainText
|
||||
}
|
||||
|
||||
//Find my phone
|
||||
|
|
Loading…
Reference in a new issue