added value to CheckableItem, implemented exclusive checking in PassivModel

This commit is contained in:
Michael Mandl 2018-06-29 19:31:28 +02:00
parent 0a1eea0fe2
commit 02eaa7be16
6 changed files with 55 additions and 9 deletions

View file

@ -187,10 +187,7 @@ unsigned int CheckableTestModel::getPoints() const
{
for (const auto &item : test.items())
{
if (item.isChecked())
{
points++;
}
points += item.points();
}
}