src/plugins/editing/RawCellMLView/src/rawcellmlviewwidget.cpp
// Add whatever issue there may be to our list and select the first one
// of them
Add whatever issue there may be to our list and select the first one
of them
Add whatever issue there may be to our list and select the first one of them
foreach (const CellMLSupport::CellmlFileIssue &cellmlFileIssue, cellmlFileIssues) {
            if (   !pOnlyErrors
                || (cellmlFileIssue.type() == CellMLSupport::CellmlFileIssue::Error)) {
                editorList->addItem((cellmlFileIssue.type() == CellMLSupport::CellmlFileIssue::Error)?
                                        EditorList::EditorListItem::Error:
                                        EditorList::EditorListItem::Warning,
                                    cellmlFileIssue.line(),
                                    cellmlFileIssue.column(),
                                    qPrintable(cellmlFileIssue.formattedMessage()));
            }
        }
foreach ( const CellMLSupport :: CellmlFileIssue & cellmlFileIssue , cellmlFileIssues ) { if ( ! pOnlyErrors || ( cellmlFileIssue . type ( ) == CellMLSupport :: CellmlFileIssue :: Error ) ) { editorList -> addItem ( ( cellmlFileIssue . type ( ) == CellMLSupport :: CellmlFileIssue :: Error ) ? EditorList :: EditorListItem :: Error : EditorList :: EditorListItem :: Warning , cellmlFileIssue . line ( ) , cellmlFileIssue . column ( ) , qPrintable ( cellmlFileIssue . formattedMessage ( ) ) ) ; } }
Add whatever issue there may be to our list and select the first one
of them
Add whatever issue there may be to our list and select the first one of them