mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 12:13:40 +02:00
When truncating the URL, show the first 5 characters (for the protocol)
This commit is contained in:
parent
bc2aea8774
commit
6094613d06
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ Item {
|
|||
font.pixelSize: root.fontSize
|
||||
visible: root.expanded;
|
||||
text: modelData.length > 30
|
||||
? "..." + modelData.substring(modelData.length - 27)
|
||||
? modelData.substring(0, 5) + "..." + modelData.substring(modelData.length - 22)
|
||||
: modelData
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue