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:
parent
4f1cae7a2f
commit
ad0aa8cc49
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user