Commit 095555eb authored by Rémi Duraffort's avatar Rémi Duraffort

qt4: remove totology.

parent 15edb457
......@@ -416,18 +416,15 @@ QStringList PLModel::selectedURIs()
bool PLModel::hasRandom()
{
if( var_GetBool( p_playlist, "random" ) ) return true;
return false;
return var_GetBool( p_playlist, "random" );
}
bool PLModel::hasRepeat()
{
if( var_GetBool( p_playlist, "repeat" ) ) return true;
return false;
return var_GetBool( p_playlist, "repeat" );
}
bool PLModel::hasLoop()
{
if( var_GetBool( p_playlist, "loop" ) ) return true;
return false;
return var_GetBool( p_playlist, "loop" );
}
void PLModel::setLoop( bool on )
{
......
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