[vlc-commits] Qt: fix a warning about operator precedence

Jean-Baptiste Kempf git at videolan.org
Sat May 14 13:06:51 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 14 13:05:50 2011 +0200| [aca5da7db247b230081ea773740c0c1ba31b0265] | committer: Jean-Baptiste Kempf

Qt: fix a warning about operator precedence

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

 modules/gui/qt4/util/customwidgets.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/util/customwidgets.cpp b/modules/gui/qt4/util/customwidgets.cpp
index 90c7791..aedc13d 100644
--- a/modules/gui/qt4/util/customwidgets.cpp
+++ b/modules/gui/qt4/util/customwidgets.cpp
@@ -344,7 +344,7 @@ void AnimatedIcon::play( int loops, int interval )
         interval = 20;
     }
 
-    if( !mIdleFrame && ( mFrames.empty() | loops != 0 ) )
+    if( !mIdleFrame && ( mFrames.empty() | (loops != 0) ) )
     {
 #ifndef NDEBUG
         printf( "AnimatedIcon::play(): no frames to display" );



More information about the vlc-commits mailing list