1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

Revert "chatview: remove useless /"

rfc1738 3.10 describes the file URL form: file://<host>/<path>
According to wikipedia, "file://path (i.e. two slashes, without a
hostname) is never correct, but is often used."

This reverts commit 4e6336d8dd.

Change-Id: Ic3f7c48eb5faa1ec97347328a03c8fda94513faf
This commit is contained in:
Andreas Traczyk 2021-10-28 11:22:57 -04:00
parent 4bfe269029
commit 996ad1d58c

View file

@ -81,7 +81,7 @@ Loader {
enabled: canOpen
onHoveredChanged: {
dataTransferItem.hoveredLink = enabled && hovered ?
("file://" + Body) : ""
("file:///" + Body) : ""
}
cursorShape: enabled ?
Qt.PointingHandCursor :
@ -306,7 +306,7 @@ Loader {
antialiasing: true
autoTransform: false
asynchronous: true
source: "file://" + Body
source: "file:///" + Body
property real aspectRatio: implicitWidth / implicitHeight
property real adjustedWidth: Math.min(maxSize,
Math.max(minSize,