Skip to content
Snippets Groups Projects
Commit ab934442 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

chat: fix "open location" feature on windows

+ 3 or 1 slashs in file scheme (rfc1738 3.10)

Change-Id: I77c9be41a5f4b7ca99929d53efbf1883ed127d52
parent 996ad1d5
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment