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

List:       kde-commits
Subject:    branches/KDE/3.5/kdemultimedia/juk
From:       Michael Pyne <michael.pyne () kdemail ! net>
Date:       2005-10-01 4:07:56
Message-ID: 1128139676.522569.3441.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 465872 by mpyne:

Fix the Now Playing bar not updating when you change a playing track's tags by having it
also watch the CollectionList for changes.


 M  +5 -0      nowplaying.cpp  


--- branches/KDE/3.5/kdemultimedia/juk/nowplaying.cpp #465871:465872
@@ -53,6 +53,11 @@
     m_observer(this, collection),
     m_collection(collection)
 {
+    // m_observer is set to watch the PlaylistCollection, also watch for
+    // changes that come from CollectionList.
+
+    CollectionList::instance()->addObserver(&m_observer);
+
     layout()->setMargin(5);
     layout()->setSpacing(3);
     setFixedHeight(imageSize + 2 + layout()->margin() * 2);
[prev in list] [next in list] [prev in thread] [next in thread] 

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