##// END OF EJS Templates
Fixes missing intlization in chartanimator
Michal Klocek -
r720:605f266f80f8
parent child
Show More
@@ -19,7 +19,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
19
19
20 const static int duration = 1000;
20 const static int duration = 1000;
21
21
22 ChartAnimator::ChartAnimator(QObject *parent):QObject(parent)
22 ChartAnimator::ChartAnimator(QObject *parent):QObject(parent),m_state(ShowState)
23 {
23 {
24 }
24 }
25
25
@@ -20,7 +20,6 class ChartAnimator : public QObject {
20
20
21 public:
21 public:
22 enum State{ShowState, ScrollUpState, ScrollDownState, ScrollLeftState,ScrollRightState,ZoomInState,ZoomOutState};
22 enum State{ShowState, ScrollUpState, ScrollDownState, ScrollLeftState,ScrollRightState,ZoomInState,ZoomOutState};
23 Q_DECLARE_FLAGS(States, State);
24
23
25 ChartAnimator(QObject *parent = 0);
24 ChartAnimator(QObject *parent = 0);
26 virtual ~ChartAnimator();
25 virtual ~ChartAnimator();
General Comments 0
You need to be logged in to leave comments. Login now