Small code cleanup.

This was bugging me for a while. :)

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2013-11-16 18:58:31 -02:00 committed by Dirk Hohndel
parent 4f1cae7a2f
commit ad0aa8cc49

View file

@ -73,8 +73,7 @@ void MainWindow::refreshDisplay(bool recreateDiveList)
if (recreateDiveList)
ui.ListWidget->reload(DiveTripModel::CURRENT);
ui.ListWidget->setFocus();
WSInfoModel *wsim = WSInfoModel::instance();
wsim->updateInfo();
WSInfoModel::instance()->updateInfo();
}
void MainWindow::current_dive_changed(int divenr)