Posted by
Marcel Wiesweg on
URL: http://digikam.185.s1.nabble.com/digikam-Bug-347937-New-Collections-added-to-Removable-Media-don-t-stay-there-tp4677723p4677748.html
https://bugs.kde.org/show_bug.cgi?id=347937--- Comment #5 from Marcel Wiesweg <
[hidden email]> ---
Most of the relevant code is in libs/database/collectionmanager.cpp
You can find the UI part in utilities/setup/setupcollectionview.cpp
Network shares are indeed treated differently, they are stored by mount path.
Solid does not care for network shares, nor did any other system library in KDE
or Qt ar the time. I guess it's still the same.
The fact that there's an extra button to add removable media is due to UI
design decisions, we need an extra button for network collections and there's
no good way to have a common button for normal storage volumes.
Apart from that, to digikam there is no real difference if you remove your USB
stick or screw out your harddisk, in either case the storage volume is not
available. There are two flags in Solid::StorageDrive, isHotpluggable() and
isRemovable(), which determine the "removable" property.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel