From 4fcabed862788ec1f45634279ce8ce6e06f51fd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Wed, 10 Jun 2009 10:20:19 +0200 Subject: [PATCH] Fixed .h++ and .c++ files to be recognized as supported file types For example, when creating a new generic project, such files would not automatically get added to the list of files. Reviewed-by: Daniel Molkentin --- src/plugins/coreplugin/mimedatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/mimedatabase.cpp b/src/plugins/coreplugin/mimedatabase.cpp index 1a5f457ecb5..85dd2b64a25 100644 --- a/src/plugins/coreplugin/mimedatabase.cpp +++ b/src/plugins/coreplugin/mimedatabase.cpp @@ -573,7 +573,7 @@ private: BaseMimeTypeParser:: BaseMimeTypeParser() : // RE to match a suffix glob pattern: "*.ext" (and not sth like "Makefile" or // "*.log[1-9]" - m_suffixPattern(QLatin1String("^\\*\\.[\\w]+$")) + m_suffixPattern(QLatin1String("^\\*\\.[\\w+]+$")) { QTC_ASSERT(m_suffixPattern.isValid(), /**/); }