From 095555eb31a4527064100b99c0f340811078fb9c Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Sun, 15 Mar 2009 21:03:25 +0100 Subject: [PATCH] qt4: remove totology. --- modules/gui/qt4/components/playlist/playlist_model.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp index 3dfaf18b08..dc68a2344b 100644 --- a/modules/gui/qt4/components/playlist/playlist_model.cpp +++ b/modules/gui/qt4/components/playlist/playlist_model.cpp @@ -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 ) { -- 2.39.5