[vlc-commits] commit: Qt4 don't return on empty arturl, otherwise we don' t get noart-icons (Ilkka Ollakka )

git at videolan.org git at videolan.org
Sat Oct 30 21:04:13 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat Oct 30 21:16:23 2010 +0300| [4a05b5299dac0f63dae030b5b4833e7bc0e2fcbb] | committer: Ilkka Ollakka 

Qt4 don't return on empty arturl, otherwise we don't get noart-icons

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

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

diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 9cb0de3..1f91c23 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -627,9 +627,6 @@ QPixmap PLModel::getArtPixmap( const QModelIndex & index, const QSize & size )
         }
     }
 
-    if( artUrl.isEmpty() )
-        return NULL;
-
     QPixmap artPix;
     QString key = artUrl + QString("%1%2").arg(size.width()).arg(size.height());
 



More information about the vlc-commits mailing list