equal
deleted
inserted
replaced
245 */ |
245 */ |
246 void CalenPreviewPane::startAutoScroll() |
246 void CalenPreviewPane::startAutoScroll() |
247 { |
247 { |
248 if (mIsNoEntriesAdded) { |
248 if (mIsNoEntriesAdded) { |
249 scrollContentsTo(QPointF(0.0,0.0)); |
249 scrollContentsTo(QPointF(0.0,0.0)); |
250 |
|
251 // Call pan gesture with zero delta just to stop the scfrolling |
|
252 HbScrollArea::panGesture(QPointF(0.0,0.0)); |
|
253 return; |
250 return; |
254 } |
251 } |
255 |
252 |
256 // Start the 2 seconds timer |
253 // Start the 2 seconds timer |
257 mTwoSecTimer->setSingleShot(true); |
254 mTwoSecTimer->setSingleShot(true); |