]> git.sesse.net Git - vlc/commitdiff
Qt4 - fix the artSet removal commit.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 9 Jan 2008 22:55:39 +0000 (22:55 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 9 Jan 2008 22:55:39 +0000 (22:55 +0000)
modules/gui/qt4/components/playlist/playlist.cpp

index 2a0a72c40457acffb3dceed7bcbce52296377d9a..90bca24e51c7e5d069454af2be321987881f295a 100644 (file)
@@ -26,6 +26,7 @@
 #include "components/playlist/panels.hpp"
 #include "components/playlist/selector.hpp"
 #include "components/playlist/playlist.hpp"
+#include "input_manager.hpp" /* art */
 
 #include <QSettings>
 #include <QLabel>
@@ -68,8 +69,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QSettings *settings, QWidge
     /* Connects */
     CONNECT( selector, activated( int ), rightPanel, setRoot( int ) );
 
-    CONNECT( qobject_cast<StandardPLPanel *>( rightPanel )->model,
-             artSet( QString ) , this, setArt( QString ) );
+    CONNECT( THEMIM->getIM(), artChanged( QString ) , this, setArt( QString ) );
     /* Forward removal requests from the selector to the main panel */
     CONNECT( qobject_cast<PLSelector *>( selector )->model,
              shouldRemove( int ),