equal
deleted
inserted
replaced
161 const MinuteProperty mins = minutesStr.toInt(); |
161 const MinuteProperty mins = minutesStr.toInt(); |
162 const SecondProperty secs = secondsStr.toInt(); |
162 const SecondProperty secs = secondsStr.toInt(); |
163 |
163 |
164 QString msecondsStr(getSafeCapt(mseconds)); |
164 QString msecondsStr(getSafeCapt(mseconds)); |
165 if(!msecondsStr.isEmpty()) |
165 if(!msecondsStr.isEmpty()) |
166 msecondsStr = msecondsStr.leftJustified(3, QLatin1Char('0')); |
166 msecondsStr = msecondsStr.leftJustified(3, QLatin1Char('0'), true); |
167 const MSecondProperty msecs = msecondsStr.toInt(); |
167 const MSecondProperty msecs = msecondsStr.toInt(); |
168 |
168 |
169 if(hour == 24) |
169 if(hour == 24) |
170 { |
170 { |
171 /* 24:00:00.00 is an invalid time for QTime, so handle it here. */ |
171 /* 24:00:00.00 is an invalid time for QTime, so handle it here. */ |