summaryrefslogtreecommitdiffstats
path: root/kioslave/media/mediaimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/media/mediaimpl.cpp')
-rw-r--r--kioslave/media/mediaimpl.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/kioslave/media/mediaimpl.cpp b/kioslave/media/mediaimpl.cpp
index ccb9af0a2..97db08041 100644
--- a/kioslave/media/mediaimpl.cpp
+++ b/kioslave/media/mediaimpl.cpp
@@ -151,11 +151,13 @@ bool MediaImpl::listMedia(TQValueList<KIO::UDSEntry> &list)
for(; it!=end; ++it)
{
- entry.clear();
+ if (!(*it).hidden()) {
+ entry.clear();
- createMediumEntry(entry, *it);
+ createMediumEntry(entry, *it);
- list.append(entry);
+ list.append(entry);
+ }
}
return true;