calendarui/views/src/calenpreviewpane.cpp
changeset 49 5de72ea7a065
parent 32 ea672fcb0ea0
child 50 579cc610882e
equal deleted inserted replaced
37:360d55486d7f 49:5de72ea7a065
   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);