Mime: Use string comparisons instead of regexps for simple globbing

Change-Id: Ia894f3663f43088cdb2d8cb685bcebecaded8146
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
hjk
2013-04-16 16:54:21 +02:00
parent b45e7b01bf
commit d3c7220cbc
8 changed files with 55 additions and 43 deletions

View File

@@ -172,7 +172,7 @@ Core::GeneratedFiles GenericProjectWizard::generateFiles(const QWizard *w,
QStringList nameFilters;
foreach (const Core::MimeGlobPattern &gp, headerTy.globPatterns())
nameFilters.append(gp.regExp().pattern());
nameFilters.append(gp.pattern());
QStringList includePaths;
foreach (const QString &path, paths) {