Fix segfault on mouseOver at the Profile with an invalid dive selected ( trip )

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-05-13 15:28:17 -03:00
parent 605f42daa4
commit 61373eaccf
4 changed files with 16 additions and 7 deletions

View file

@ -140,8 +140,8 @@ void MainTab::updateDiveInfo(int dive)
* if we don't use the gtk widget to drive this?
* Maybe call process_selected_dives? Or re-write to query our Qt list view.
*/
qDebug("max temp %u",stats_selection.max_temp);
qDebug("min temp %u",stats_selection.min_temp);
// qDebug("max temp %u",stats_selection.max_temp);
// qDebug("min temp %u",stats_selection.min_temp);
}
void MainTab::on_addCylinder_clicked()