mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 17:10:44 +08:00
Fixed bug with list of source files start with a '/'.
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user