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
This commit is contained in:
Thorbjørn Lindeijer
2009-06-10 10:20:19 +02:00
parent f9cd84c104
commit 4fcabed862

View File

@@ -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(), /**/);
}