[vlc-devel] commit: Leave recent items filter empty. (Antoine Cellerier )
Antoine Cellerier
dionoea at videolan.org
Sun Jan 4 19:23:02 CET 2009
On Sun, Jan 04, 2009, Jean-Baptiste Kempf wrote:
> Creating an empty QRegExp is fine and avoids supplementary checking
> everytime we will have to use filter.
Prevents instatiating QRegExp if it's not needed :) (and i guess that ""
would match on every string so we'd still have to check IsEmpty()
everytime we use the filter ... which is bound to be more costly than
checking filter == NULL)
--
Antoine Cellerier
dionoea
More information about the vlc-devel
mailing list