Fixed #1972 (file extensions)

This commit is contained in:
Sbastien Debrard 2010-09-02 19:17:47 +02:00 committed by Daniel Marjamäki
parent fbffaade2e
commit 2049f70754
2 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@
QStringList FileList::GetDefaultFilters()
{
QStringList extensions;
extensions << "*.cpp" << "*.cxx" << "*.cc" << "*.c" << "*.c++" << "*.txx";
extensions << "*.cpp" << "*.cxx" << "*.cc" << "*.c" << "*.c++" << "*.txx" << "*.tpp";
return extensions;
}

View File

@ -123,6 +123,7 @@ bool FileLister::acceptFile(const std::string &filename)
extension == ".cc" ||
extension == ".c" ||
extension == ".c++" ||
extension == ".tpp" ||
extension == ".txx")
{
return true;