mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 00:09:53 -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
|
// otherwise ask user
|
||||||
if (urlString.length() > 6) {
|
if (urlString.length() > 6) {
|
||||||
QString cmdTruncated = urlString;
|
QString cmdTruncated = urlString.mid(6);
|
||||||
if (cmdTruncated.length() > 400)
|
if (cmdTruncated.length() > 400)
|
||||||
cmdTruncated = cmdTruncated.left(400) + " […]";
|
cmdTruncated = cmdTruncated.left(400) + " […]";
|
||||||
QMessageBox msgbox(QMessageBox::Icon::Question,
|
QMessageBox msgbox(QMessageBox::Icon::Question,
|
||||||
|
Loading…
Reference in New Issue
Block a user