mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 01:36:56 +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
|
font.pixelSize: root.fontSize
|
||||||
visible: root.expanded;
|
visible: root.expanded;
|
||||||
text: modelData.length > 30
|
text: modelData.length > 30
|
||||||
? "..." + modelData.substring(modelData.length - 27)
|
? modelData.substring(0, 5) + "..." + modelData.substring(modelData.length - 22)
|
||||||
: modelData
|
: modelData
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue