mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 17:10:44 +08:00
added: consider .C files as C++
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user