Commit 12930fd5 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #1341 from DonLakeFlyer/Assert

Add assert back
parents ec4378d7 6f930549
......@@ -65,7 +65,8 @@ void FactBinder::setName(const QString& name)
emit valueChanged();
emit nameChanged();
} else {
qDebug() << "FAILED BINDING PARAM" << name << ": PARAM DOES NOT EXIST ON SYSTEM!";
qWarning() << "FAILED BINDING PARAM" << name << ": PARAM DOES NOT EXIST ON SYSTEM!";
Q_ASSERT(false);
}
}
}
......@@ -84,7 +85,8 @@ void FactBinder::setValue(const QVariant& value)
if (_fact) {
_fact->setValue(value);
} else {
qDebug() << "FAILED SETTING PARAM VALUE" << value.toString() << ": PARAM DOES NOT EXIST ON SYSTEM!";
qWarning() << "FAILED SETTING PARAM VALUE" << _fact->name() << ": PARAM DOES NOT EXIST ON SYSTEM!";
Q_ASSERT(false);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment