equal
deleted
inserted
replaced
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 } |