Fix file tagger pattern matching.
authorChristian Kandeler <christian.kandeler@digia.com>
Fri, 1 Nov 2013 13:35:59 +0000 (14:35 +0100)
committerJoerg Bornemann <joerg.bornemann@digia.com>
Mon, 4 Nov 2013 11:22:54 +0000 (12:22 +0100)
commite0bc8dd5c60cf9b799963166b4f085f4a08aa154
tree005ec8922bbeec5c4d074f44e9c8d63bbf0641bc
parentcddfbf1c4ec61a9e636232f202a873626e6e3ee7
Fix file tagger pattern matching.

When first creating a FileTagger object, we implicitly set the pattern
syntax to "RegExp". On restoring, we set it to "WildCard".
We now use wildcards always, as the documentation says.
Note that the only reason the bug has not manifested itself yet is that
the shortcut in FileInfo::globMatches() catches all our existing file
tags.

Change-Id: Ibedb54fb3a890ae6ab35a8f073d85cc4ebfc36bc
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
src/lib/language/projectresolver.cpp