From 0a4e21a16813592031baf8ca90bc52418aa8965e Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 21 Jan 2014 13:27:08 -0200 Subject: Add the depth text. Depth text got added to the new profile. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/profile/profilewidget2.cpp') diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 34b87ad78..b76b4d351 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -359,7 +359,7 @@ void ProfileWidget2::plotDives(QList dives) scene()->addItem(gasPressureItem); diveComputerText->setText(currentdc->model); - diveComputerText->setPos(1 , sceneRect().height()); + diveComputerText->animateMoveTo(1 , sceneRect().height()); emit startProfileState(); } -- cgit v1.2.3-70-g09d2