From b876907e650eaf996aa3c2bcfac9a526cf900c5b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 27 Dec 2013 19:29:38 -0600 Subject: Fix free space overlay not disappearing on unmount Fix devices disappearing on unmount Automatically close notification popup on associated media device removal --- tdeioslave/media/mediamanager/mediamanager.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tdeioslave/media/mediamanager/mediamanager.cpp') diff --git a/tdeioslave/media/mediamanager/mediamanager.cpp b/tdeioslave/media/mediamanager/mediamanager.cpp index 9a4089ca5..b08c37794 100644 --- a/tdeioslave/media/mediamanager/mediamanager.cpp +++ b/tdeioslave/media/mediamanager/mediamanager.cpp @@ -44,7 +44,6 @@ #include "linuxcdpolling.h" #endif //COMPILE_LINUXCDPOLLING - MediaManager::MediaManager(const TQCString &obj) : KDEDModule(obj), m_dirNotify(m_mediaList) { @@ -401,10 +400,6 @@ void MediaManager::slotMediumChanged(const TQString &/*id*/, const TQString &nam kdDebug(1219) << "MediaManager::slotMediumChanged: " << name << endl; KDirNotify_stub notifier("*", "*"); - if (!mounted) - { - notifier.FilesRemoved( KURL("media:/"+name) ); - } notifier.FilesChanged( KURL("media:/"+name) ); emit mediumChanged(name, allowNotification); -- cgit v1.2.1