calendarui/views/src/calenmonthgrid.cpp
changeset 57 bb2d3e476f29
parent 55 2c54b51f39c4
child 63 a3cb48f6c889
--- a/calendarui/views/src/calenmonthgrid.cpp	Mon Jul 26 13:54:38 2010 +0530
+++ b/calendarui/views/src/calenmonthgrid.cpp	Mon Aug 09 18:30:52 2010 +0530
@@ -1207,8 +1207,10 @@
 	// Painter draws the line for first two points in the list and then second 
 	// line for next two points in the list like that. Hence, list should 
 	// contain even number of points
+	// Dont draw the first horizontal line as we have thick line seperator
+	// coming between day names and the month grid
 	QVector<QPointF> pointList;
-	for (int i = 0; i < numOfRows; i++) {
+	for (int i = 1; i < numOfRows; i++) {
 		pointList.append(QPointF(startPoint.x(), 
 		                         startPoint.y() + (i * rowWidth)));
 		pointList.append(QPointF(endPoint.x(), endPoint.y() + (i * rowWidth)));