Merge branch '1.x'

This commit is contained in:
Fabian Vogt 2017-07-12 11:37:41 +02:00
commit 0667c6556f
3 changed files with 5 additions and 1 deletions

View file

@ -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);

View file

@ -156,6 +156,9 @@
<property name="text">
<string>Device</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item>

View file

@ -102,6 +102,7 @@ PlasmaComponents.ListItem
elide: Text.ElideRight
text: display
Layout.fillWidth: true
textFormat: Text.PlainText
}
//Find my phone