Commit 8b2c1499 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: more warnings

parent e15ff43d
......@@ -302,7 +302,7 @@ QString VLCKeyToString( unsigned val )
/* Animated Icon implementation */
AnimatedIcon::AnimatedIcon( QWidget *parent )
: mTimer( this ), mIdleFrame( NULL )
: QLabel( parent ), mTimer( this ), mIdleFrame( NULL )
{
mCurrentFrame = mRemainingLoops = 0;
connect( &mTimer, SIGNAL( timeout() ), this, SLOT( onTimerTick() ) );
......@@ -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" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment