[Digikam-devel] [digikam] [Bug 347937] Collections added as "Removable Media" change as "Local Collections"

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed May 20 19:38:17 BST 2015


https://bugs.kde.org/show_bug.cgi?id=347937

--- Comment #5 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
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.



More information about the Digikam-devel mailing list