[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [amarok] src/core-impl/collections/umscollection: Clear the view
From:       Bart Cerneels <bart.cerneels () kde ! org>
Date:       2011-11-03 22:12:55
Message-ID: 20111103221255.2B24DA60BB () git ! kde ! org
[Download RAW message or body]

Git commit bafc2735acc4877023a1167cb4321233d51eec21 by Bart Cerneels.
Committed on 03/11/2011 at 22:53.
Pushed by shanachie into branch 'master'.

Clear the view when a UMS device is unmounted.

M  +2    -0    src/core-impl/collections/umscollection/UmsCollection.cpp

http://commits.kde.org/amarok/bafc2735acc4877023a1167cb4321233d51eec21

diff --git a/src/core-impl/collections/umscollection/UmsCollection.cpp \
b/src/core-impl/collections/umscollection/UmsCollection.cpp index 15d2409..050ccd9 \
                100644
--- a/src/core-impl/collections/umscollection/UmsCollection.cpp
+++ b/src/core-impl/collections/umscollection/UmsCollection.cpp
@@ -282,6 +282,8 @@ UmsCollection::deInit()
 {
     m_initialized = false;
     m_mc.clear();
+
+    emit updated();
 }
 
 bool


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic