mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-13 12:05:22 +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())
|
||||
p = f.dir().absolutePath();
|
||||
QString url;
|
||||
if (!p.startsWith("file://"))
|
||||
url = "file://" + p;
|
||||
if (!p.startsWith("file:/"))
|
||||
url = "file:///" + p;
|
||||
else
|
||||
url = p;
|
||||
openUrl(url);
|
||||
|
|
Loading…
Add table
Reference in a new issue