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

Matěj Laitl matej at laitl.cz
Mon Aug 20 08:19:56 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106094/
-----------------------------------------------------------

(Updated Aug. 20, 2012, 8:19 a.m.)


Review request for Amarok.


Changes
-------

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


Description (updated)
-------

{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.

BUG: 302837
FIXED-IN: 2.7
REVIEW: 106094


This addresses bug 302837.
    https://bugs.kde.org/show_bug.cgi?id=302837


Diffs (updated)
-----

  src/core-impl/collections/db/sql/device/nfs/NfsDeviceHandler.cpp 74e19bc643d15f0f1473da7a6ca52a31583ffd83 
  src/core-impl/collections/db/sql/device/smb/SmbDeviceHandler.cpp 12d6c2a051f58579f1bdc69abeb7a1b0a049c5fa 

Diff: http://git.reviewboard.kde.org/r/106094/diff/


Testing
-------

Medium, needs confirmation from bug reporter.


Thanks,

Matěj Laitl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120820/6699bd96/attachment.html>


More information about the Amarok-devel mailing list