Skip to content

Commit

Permalink
Remove a faulty error check from named objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
netterfield committed Mar 29, 2015
1 parent 7967c22 commit 0803ac5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libkst/namedobject.cpp
Expand Up @@ -208,11 +208,7 @@ void NamedObject::processShortNameIndexAttributes(QXmlStreamAttributes &attrs) {

R = attrs.value("initialXNum");
if (!R.isEmpty()) {
if (_xnum > R.toString().toInt()) {
qDebug() << "Warning: inonsistent kst file: references to scalars will be broken." << _xnum << R.toString().toInt();
} else {
_xnum = R.toString().toInt();
}
}

R = attrs.value("initialPNum");
Expand Down

0 comments on commit 0803ac5

Please sign in to comment.