aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-15 13:06:56 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-16 10:12:31 +0700
commit7affccdf5b2baff6fb757ca41ffe11ec953f27d6 (patch)
tree5912e9a4b26d389280184f6106c1592d92ff8587 /qt-ui
parent7ba4fe885ee1d7db5c6be3e7515edbd019b3bf67 (diff)
downloadsubsurface-7affccdf5b2baff6fb757ca41ffe11ec953f27d6.tar.gz
Importantly, I had forgotten to start the state machine
The state machine needs to be started before it works; now the animations are working. :) Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/profile/profilewidget2.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 2f0d0d3c9..b2c59b2cc 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -209,6 +209,9 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) :
addState->setObjectName("Add State");
editState->setObjectName("Edit State");
planState->setObjectName("Plan State");
+
+ // Starting the transitions:
+ stateMachine->start();
}
// Currently just one dive, but the plan is to enable All of the selected dives.