Commit d78b37ba authored by Ilkka Ollakka's avatar Ilkka Ollakka Committed by Jean-Baptiste Kempf

[QT] cosmetic, use regexp instead of multiple removes in simple preferences

(cherry picked from commit b3da319e)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent c89f6fca
......@@ -693,10 +693,7 @@ void SPrefsPanel::apply()
that we have to remove */
if( !b_normChecked )
{
/* Ugly :D */
qs_filter.remove( "volnorm:" );
qs_filter.remove( ":volnorm" );
qs_filter.remove( "volnorm" );
qs_filter.remove( QRegExp(":?volnorm:?") );
}
}
else /* qs_filter not empty, but doesn't have volnorm inside */
......
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