Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Dec 2, 2019
1 parent a7cba0d commit 798c239
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -332,17 +332,17 @@ void CellmlAnnotationViewMetadataNormalViewDetailsWidget::addRdfTriple(CellMLSup
void CellmlAnnotationViewMetadataNormalViewDetailsWidget::genericLookUp(const QString &pRdfTripleInformation,
InformationType pInformationType)
{
// Keep track of the RDF triple information and type

mRdfTripleInformation = pRdfTripleInformation;

// Retrieve the RDF triple information

QStringList rdfTripleInformation = pRdfTripleInformation.split('|');
QString qualifier = pRdfTripleInformation.isEmpty()?QString():rdfTripleInformation[0];
QString resource = pRdfTripleInformation.isEmpty()?QString():rdfTripleInformation[1];
QString id = pRdfTripleInformation.isEmpty()?QString():rdfTripleInformation[2];

// Keep track of the RDF triple information and type

mRdfTripleInformation = pRdfTripleInformation;

// (Un)highlight/(un)select our various RDF triple information

static const QString Highlighted = "highlighted";
Expand Down

0 comments on commit 798c239

Please sign in to comment.