Don't show cmd:// prefix in confirmation dialog

This commit is contained in:
Janek Bevendorff 2017-01-28 14:24:33 +01:00
parent 01e9d39b63
commit 3e6f76826b
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53

View File

@ -507,7 +507,7 @@ void DatabaseWidget::openUrlForEntry(Entry* entry)
// otherwise ask user
if (urlString.length() > 6) {
QString cmdTruncated = urlString;
QString cmdTruncated = urlString.mid(6);
if (cmdTruncated.length() > 400)
cmdTruncated = cmdTruncated.left(400) + " […]";
QMessageBox msgbox(QMessageBox::Icon::Question,