summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediaimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/media/mediaimpl.cpp')
-rw-r--r--tdeioslave/media/mediaimpl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdeioslave/media/mediaimpl.cpp b/tdeioslave/media/mediaimpl.cpp
index e00cedccd..7b22a5d22 100644
--- a/tdeioslave/media/mediaimpl.cpp
+++ b/tdeioslave/media/mediaimpl.cpp
@@ -424,6 +424,10 @@ void MediaImpl::createMediumEntry(TDEIO::UDSEntry& entry,
addAtom(entry, TDEIO::UDS_MIME_TYPE, 0, medium.mimeType());
addAtom(entry, TDEIO::UDS_GUESSED_MIME_TYPE, 0, "inode/directory");
+ if (medium.softHidden()) {
+ addAtom(entry, TDEIO::UDS_HIDDEN , true);
+ }
+
if (!medium.iconName().isEmpty())
{
addAtom(entry, TDEIO::UDS_ICON_NAME, 0, medium.iconName());