calendarui/views/dayview/src/calendaycontentscrollarea.cpp
changeset 83 5aadd1120515
parent 81 ce92091cbd61
--- a/calendarui/views/dayview/src/calendaycontentscrollarea.cpp	Tue Oct 05 14:14:48 2010 +0530
+++ b/calendarui/views/dayview/src/calendaycontentscrollarea.cpp	Fri Oct 15 12:10:36 2010 +0530
@@ -32,13 +32,14 @@
  */
 const int KCalenScrollDaysTimeout = 600;
 
+#ifdef CALENDAYVIEW_PANNING_ENABLED
 /*!
  Value [%] defines how long (depending on content area width) should horizontal
  pan gesture be to change day to previous/next.
  If the gesture is shorter - current view is not changed.
  */
 const int KCalenHScrollMoveParam = 30;  //!< Percentage
-
+#endif
 
 /*!
  \class CalenDayContentScrollArea