Skip to content
Commit 81737be2 authored by Matěj Laitl's avatar Matěj Laitl
Browse files

{Smb,Nfs}DeviceHandler: use Solid instead of KMountPoint

KMountPoint seems to be unreliable and not working at least for smb
shares. Use Solid's NetworkShare for the same task, which is much more
*cough* ... solid. :-)

Server name & share name extraction changed a bit, but I've tested it
to give the same names as the old implementation. (not for some corner
cases, but old behaviour could be considered bogus there)

v2: use QUrl::host(), ::path() instead of uglier QString::section(),
reorder some calls for more meaningful debug messages.

This does not yet solve bug 302837 fully, just the first part of it.

CCBUG: 302837
FIXED-IN: 2.7
REVIEW: 106094
parent bc482840
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment