T12394 Improve SMS URI display in kdeconnect-handler
This commit is contained in:
parent
bd7b4c305a
commit
667988ec72
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ int main(int argc, char** argv)
|
||||||
} else if (urlToShare.isLocalFile() && open) {
|
} else if (urlToShare.isLocalFile() && open) {
|
||||||
displayUrl = urlToShare.toDisplayString(QUrl::PreferLocalFile);
|
displayUrl = urlToShare.toDisplayString(QUrl::PreferLocalFile);
|
||||||
uidialog.label->setText(i18n("Device to open %1 on:", displayUrl));
|
uidialog.label->setText(i18n("Device to open %1 on:", displayUrl));
|
||||||
|
} else if (urlToShare.scheme() == QLatin1String("sms")) {
|
||||||
|
displayUrl = urlToShare.toDisplayString(QUrl::PreferLocalFile);
|
||||||
|
uidialog.label->setText(i18n("Device to send a SMS with:"));
|
||||||
} else {
|
} else {
|
||||||
displayUrl = urlToShare.toDisplayString(QUrl::PreferLocalFile);
|
displayUrl = urlToShare.toDisplayString(QUrl::PreferLocalFile);
|
||||||
uidialog.label->setText(i18n("Device to send %1 to:", displayUrl));
|
uidialog.label->setText(i18n("Device to send %1 to:", displayUrl));
|
||||||
|
|
Loading…
Reference in a new issue