Fixed bug with list of source files start with a '/'.

This commit is contained in:
Ernie Pasveer
2022-02-09 19:41:01 -06:00
parent c16eff2aae
commit b2a1ce8d0a
+2
View File
@@ -84,10 +84,12 @@ void SeerSourceBrowserWidget::handleText (const QString& text) {
item->setText(0, file_text);
item->setText(1, fullname_text);
/* Why have this?
// Skip fully specified paths. Include files???
if (file_text[0] == '/') {
continue;
}
*/
// Look at the filename suffix.
if (fileInfo.suffix() == "cpp" || fileInfo.suffix() == "c" || fileInfo.suffix() == "f" || fileInfo.suffix() == "f90") {