Some refactoring for model base / view base

* update by int index (row)
* updateContainer renaming
This commit is contained in:
Klaus Basan
2014-08-02 22:19:55 +02:00
parent 9afc9024ca
commit f8774540f2
7 changed files with 26 additions and 13 deletions

View File

@@ -35,11 +35,11 @@ namespace BlackGui
if (this->getIContextNetwork()->isConnected())
{
this->ui->tvp_AircraftsInRange->update(this->getIContextNetwork()->getAircraftsInRange());
this->ui->tvp_AircraftsInRange->updateContainer(this->getIContextNetwork()->getAircraftsInRange());
}
if (this->getIContextSimulator()->isConnected())
{
this->ui->tvp_AirportsInRange->update(this->getIContextSimulator()->getAirportsInRange());
this->ui->tvp_AirportsInRange->updateContainer(this->getIContextSimulator()->getAirportsInRange());
}
}
}