Fix open/send text in handler

This commit is contained in:
Nicolas Fella 2019-06-14 21:54:20 +02:00
parent 9fd81e11cb
commit 79b42ff80c

View file

@ -102,10 +102,10 @@ int main(int argc, char** argv)
uidialog.label->setText(i18n("Device to call %1 with:", displayUrl));
} else if (urlToShare.isLocalFile() && open) {
displayUrl = urlToShare.toDisplayString(QUrl::PreferLocalFile);
uidialog.label->setText(i18n("Device to send %1 to:", displayUrl));
uidialog.label->setText(i18n("Device to open %1 on:", displayUrl));
} else {
displayUrl = urlToShare.toDisplayString(QUrl::PreferLocalFile);
uidialog.label->setText(i18n("Device to open %1 on:", displayUrl));
uidialog.label->setText(i18n("Device to send %1 to:", displayUrl));
}
dialog.setWindowTitle(displayUrl);