summaryrefslogtreecommitdiffstats
path: root/kioslave/media/mediaimpl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-04-01 19:00:01 -0500
committerTimothy Pearson <[email protected]>2012-04-01 19:00:01 -0500
commit480a63959b1162b197260c7ee6c294563ce0845e (patch)
tree93463303b3ae06a1541686ff95d36919cf7318ca /kioslave/media/mediaimpl.cpp
parentccc23cb9fdd1a24e258833a4c8724f2b49635bde (diff)
downloadtdebase-480a63959b1162b197260c7ee6c294563ce0845e.tar.gz
tdebase-480a63959b1162b197260c7ee6c294563ce0845e.zip
Repair encrypted device handling in TDE media backend
Repair Zip drive handling in same
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;