[vlc-devel] commit: remember to emit currentSourceChanged (Martin T. H. Sandsmark )

git version control git at videolan.org
Tue Jan 12 18:54:40 CET 2010


vlc | branch: master | Martin T. H. Sandsmark <sandsmark at samfundet.no> | Tue Jan 12 18:11:11 2010 +0100| [345b176f96597c5719d66b1d9ad3ce359464a639] | committer: Jean-Baptiste Kempf 

remember to emit currentSourceChanged

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=345b176f96597c5719d66b1d9ad3ce359464a639
---

 bindings/phonon/vlc/mediaobject.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/bindings/phonon/vlc/mediaobject.cpp b/bindings/phonon/vlc/mediaobject.cpp
index 9e5ccd5..a8a845b 100644
--- a/bindings/phonon/vlc/mediaobject.cpp
+++ b/bindings/phonon/vlc/mediaobject.cpp
@@ -240,6 +240,8 @@ void MediaObject::setSource(const MediaSource & source)
         << source.type();
         break;
     }
+
+    emit currentSourceChanged(mediaSource);
 }
 
 void MediaObject::setNextSource(const MediaSource & source)




More information about the vlc-devel mailing list