SocketAPI: SHARE: Fix the paths when creating the share dialog
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 4 Jan 2016 10:57:51 +0000 (11:57 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Mon, 4 Jan 2016 11:06:09 +0000 (12:06 +0100)
commit970cdcfdbbd1e4b08d6f9677f42f27e6fd1ca720
tree6767187a580207e22d88ba7bdc19fa21c0262367
parent0ef9bd9e2399801e1e9098ecec841a5cee44b7ac
SocketAPI: SHARE: Fix the paths when creating the share dialog

The socket api uses native folder separator. We need to use QDir::cleanPath
for anything else so we only work with '/' everywhere else in the code

This fixes the sharing dialog on window.

Issue #4311
src/gui/socketapi.cpp