diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-12-27 17:33:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-12-27 17:33:48 -0600 |
commit | a179d5d6967c204d5973fff2839a517175671b5b (patch) | |
tree | 2f5b02e822a24c2bf659729f494c74f9cb2bcecb /tdeio/tdeio/kdirlister.cpp | |
parent | 80a04dbf8a7f10fd9d78fdf85374fcf1d4ab93e9 (diff) | |
download | tdelibs-a179d5d6967c204d5973fff2839a517175671b5b.tar.gz tdelibs-a179d5d6967c204d5973fff2839a517175671b5b.zip |
Fix crash in mount/umount operations when using pmount
Remove unneeded hack in dirlister for media device root directory
Diffstat (limited to 'tdeio/tdeio/kdirlister.cpp')
-rw-r--r-- | tdeio/tdeio/kdirlister.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tdeio/tdeio/kdirlister.cpp b/tdeio/tdeio/kdirlister.cpp index 1bf9ac78c..bae304f74 100644 --- a/tdeio/tdeio/kdirlister.cpp +++ b/tdeio/tdeio/kdirlister.cpp @@ -90,17 +90,6 @@ KDirListerCache::~KDirListerCache() bool KDirListerCache::listDir( KDirLister *lister, const KURL& _u, bool _keep, bool _reload ) { - // HACK - // The media:/ tdeioslave has massive problems related to not properly updating its root directory - // Therefore, force a reload every time the media:/ tdeioslave root is accessed! - // FIXME - // For anyone wanting to tackle this problem, it was traced into the KDirListerCache::updateDirectory TDEIO::listDir TDEIO job - // Specifically, slotUpdateResult is never called for the root directory *iff* the user descends into an unmounted media device - // Strangely, slotUpdateResult *is* called if the user instead right-clicks on the unmounted media device and selects Mount from the context menu - if ((_u.protocol() == "media") && (_u.path() == "/")) { - _reload = true; - } - // like this we don't have to worry about trailing slashes any further KURL _url = _u; _url.cleanPath(); // kill consecutive slashes |