vlc | branch: master | Ilkka Ollakka <[email protected]> | Wed Jul  6 17:15:13 
2011 +0300| [75ae66eb0ffc178859d56817b28b81e0af81e157] | committer: Ilkka 
Ollakka

Qt4: fix viewchange if MEDIA_LIBRARY not defined on compile-time

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

 .../gui/qt4/components/playlist/standardpanel.cpp  |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp 
b/modules/gui/qt4/components/playlist/standardpanel.cpp
index a89cd3f..76d7e25 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -350,6 +350,9 @@ void StandardPLPanel::changeModel( bool b_ml )
         mod = model;
     if( currentView->model() != mod )
         currentView->setModel( mod );
+#else
+    if( currentView->model() != model )
+        currentView->setModel( model );
 #endif
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to