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

@@ -106,10 +106,10 @@ namespace BlackGui
// update servers
this->ui->tvp_SettingsTnServers->setSelectedServer(nws.getCurrentTrafficNetworkServer());
this->ui->tvp_SettingsTnServers->update(nws.getTrafficNetworkServers());
this->ui->tvp_SettingsTnServers->updateContainer(nws.getTrafficNetworkServers());
// update hot keys
this->ui->tvp_SettingsMiscHotkeys->update(this->getIContextSettings()->getHotkeys());
this->ui->tvp_SettingsMiscHotkeys->updateContainer(this->getIContextSettings()->getHotkeys());
// fake setting for sound notifications
this->ui->cb_SettingsAudioPlayNotificationSounds->setChecked(true);