mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 07:49:50 -05:00
Don't show cmd:// prefix in confirmation dialog
This commit is contained in:
parent
01e9d39b63
commit
3e6f76826b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user