added: consider .C files as C++

This commit is contained in:
Arne Morten Kvarving
2022-04-12 20:07:33 +02:00
parent 20f17cb027
commit 7bc32c1b78
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ void SeerSourceBrowserWidget::handleText (const QString& text) {
*/
// Look at the filename suffix.
if (fileInfo.suffix() == "cpp" || fileInfo.suffix() == "c") { // C/C++
if (fileInfo.suffix() == "cpp" || fileInfo.suffix() == "c" || fileInfo.suffix() == "C") { // C/C++
_sourceFilesItems->addChild(item);
}else if (fileInfo.suffix() == "f" || fileInfo.suffix() == "f90" || fileInfo.suffix() == "F90") { // Fortran