calendarui/views/dayview/src/calendaystatusstrip.cpp
changeset 55 2c54b51f39c4
parent 45 b6db4fd4947b
child 57 bb2d3e476f29
equal deleted inserted replaced
51:0b38fc5b94c6 55:2c54b51f39c4
   261     }
   261     }
   262 
   262 
   263     if (endTime.minute() == 0) {
   263     if (endTime.minute() == 0) {
   264         end = endTime;
   264         end = endTime;
   265     }
   265     }
   266     else if (endTime.hour() == 23) {
   266     else if (endTime.hour() == 23 and endTime.minute() > 30) {
   267         end = QTime(endTime.hour(), 59);
   267         end = QTime(endTime.hour(), 59);
   268     }
   268     }
   269     else if (endTime.minute() <= 30) {
   269     else if (endTime.minute() <= 30) {
   270         end = QTime(endTime.hour(), 30);
   270         end = QTime(endTime.hour(), 30);
   271     }
   271     }