changeset 86 | e4f038c420f7 |
parent 63 | 52b0f64eeb51 |
81:7dd137878ff8 | 86:e4f038c420f7 |
---|---|
134 /*! |
134 /*! |
135 |
135 |
136 */ |
136 */ |
137 bool HsPageIndicator::isAnimationRunning() const |
137 bool HsPageIndicator::isAnimationRunning() const |
138 { |
138 { |
139 return mItems.at(mActiveItemIndex)->isAnimationRunning(); |
139 if (0 <= mActiveItemIndex && mActiveItemIndex <= itemCount()){ |
140 return mItems.at(mActiveItemIndex)->isAnimationRunning(); |
|
141 } |
|
142 return false; |
|
140 } |
143 } |
141 |
144 |
142 /*! |
145 /*! |
143 |
146 |
144 */ |
147 */ |