mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-21 15:24:01 +02:00
chat: fix "open location" feature on windows
+ 3 or 1 slashs in file scheme (rfc1738 3.10) Change-Id: I77c9be41a5f4b7ca99929d53efbf1883ed127d52
This commit is contained in:
parent
996ad1d58c
commit
ab934442bc
1 changed files with 2 additions and 2 deletions
|
@ -204,8 +204,8 @@ MessagesAdapter::openDirectory(const QString& path)
|
||||||
if (!f.isDir())
|
if (!f.isDir())
|
||||||
p = f.dir().absolutePath();
|
p = f.dir().absolutePath();
|
||||||
QString url;
|
QString url;
|
||||||
if (!p.startsWith("file://"))
|
if (!p.startsWith("file:/"))
|
||||||
url = "file://" + p;
|
url = "file:///" + p;
|
||||||
else
|
else
|
||||||
url = p;
|
url = p;
|
||||||
openUrl(url);
|
openUrl(url);
|
||||||
|
|
Loading…
Add table
Reference in a new issue