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"));
|
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->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->setActions(QStringList() << i18n("Accept") << i18n("Reject"));
|
||||||
// notification->setTimeout(PairingHandler::pairingTimeoutMsec());
|
// notification->setTimeout(PairingHandler::pairingTimeoutMsec());
|
||||||
connect(notification, &KNotification::action1Activated, device, &Device::acceptPairing);
|
connect(notification, &KNotification::action1Activated, device, &Device::acceptPairing);
|
||||||
|
|
|
@ -156,6 +156,9 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Device</string>
|
<string>Device</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="textFormat">
|
||||||
|
<enum>Qt::PlainText</enum>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -102,6 +102,7 @@ PlasmaComponents.ListItem
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
text: display
|
text: display
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
textFormat: Text.PlainText
|
||||||
}
|
}
|
||||||
|
|
||||||
//Find my phone
|
//Find my phone
|
||||||
|
|
Loading…
Reference in a new issue