Commit b3da319e authored by Ilkka Ollakka's avatar Ilkka Ollakka

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

parent 937e3f2f
......@@ -670,10 +670,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