Diffstat (limited to 'noncore/settings/netsystemtime/timetabwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/timetabwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/netsystemtime/timetabwidget.cpp b/noncore/settings/netsystemtime/timetabwidget.cpp index 895514b..e6fcf7f 100644 --- a/noncore/settings/netsystemtime/timetabwidget.cpp +++ b/noncore/settings/netsystemtime/timetabwidget.cpp | |||
@@ -178,5 +178,5 @@ void TimeTabWidget::setDateTime( const QDateTime &dt ) | |||
178 | { | 178 | { |
179 | int show_hour = t.hour(); | 179 | int show_hour = t.hour(); |
180 | if ( t.hour() >= 12 ) | 180 | if ( t.hour() > 12 ) |
181 | { | 181 | { |
182 | show_hour -= 12; | 182 | show_hour -= 12; |
@@ -240,5 +240,5 @@ void TimeTabWidget::slotUse12HourTime( int i ) | |||
240 | sbHour->setMaxValue( 12 ); | 240 | sbHour->setMaxValue( 12 ); |
241 | 241 | ||
242 | if ( show_hour >= 12 ) | 242 | if ( show_hour > 12 ) |
243 | { | 243 | { |
244 | show_hour -= 12; | 244 | show_hour -= 12; |