From b2a1ce8d0ab4edc515f896c60745b6d1f5dc08cf Mon Sep 17 00:00:00 2001 From: Ernie Pasveer Date: Wed, 9 Feb 2022 19:41:01 -0600 Subject: [PATCH] Fixed bug with list of source files start with a '/'. --- src/SeerSourceBrowserWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SeerSourceBrowserWidget.cpp b/src/SeerSourceBrowserWidget.cpp index a50d50d..2a18cb7 100644 --- a/src/SeerSourceBrowserWidget.cpp +++ b/src/SeerSourceBrowserWidget.cpp @@ -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") {