vlc | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Thu Feb 27 
16:09:41 2014 +0100| [8b6da64add272b62718055a39827bb6b3cb36627] | committer: 
Jean-Baptiste Kempf

Qt: be compatible with Qt5

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

 modules/gui/qt4/dialogs/plugins.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/dialogs/plugins.cpp 
b/modules/gui/qt4/dialogs/plugins.cpp
index 666fd37..d2bb5c0 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -307,7 +307,7 @@ static QPixmap hueRotate( QImage image, const QColor 
&source, const QColor &targ
 {
     int distance = target.hue() - source.hue();
     /* must be indexed as we alter palette, not a whole pic */
-    Q_ASSERT( image.numColors() );
+    Q_ASSERT( image.colorCount() );
     if ( target.isValid() )
     {
         /* color 1 = transparency */

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to