From c036d97d35d25c4511d9569d40c1de07dab96bb6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 7 Aug 2015 17:06:29 +0900 Subject: Fixed KAlarm building warnings. Minor style patch up. Fixed possible error in treating deferred evens (see kalarm/alarmevent.cpp:1739). Signed-off-by: Michele Calgaro --- kalarm/alarmtimewidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kalarm/alarmtimewidget.cpp') diff --git a/kalarm/alarmtimewidget.cpp b/kalarm/alarmtimewidget.cpp index 94abd0e3e..615696cfb 100644 --- a/kalarm/alarmtimewidget.cpp +++ b/kalarm/alarmtimewidget.cpp @@ -81,7 +81,7 @@ void AlarmTimeWidget::init(int mode) { static const TQString recurText = i18n("For a simple repetition, enter the date/time of the first occurrence.\n" "If a recurrence is configured, the start date/time will be adjusted " - "to the first recurrence on or after the entered date/time."); + "to the first recurrence on or after the entered date/time."); connect(this, TQT_SIGNAL(buttonSet(int)), TQT_SLOT(slotButtonSet(int))); TQBoxLayout* topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); @@ -466,7 +466,7 @@ void AlarmTimeWidget::slotTimer() { // The current date has reached or has passed the maximum date if (now.date() > mMaxDateTime.date() - || !mAnyTime && now.time() > mTimeEdit->maxTime()) + || (!mAnyTime && now.time() > mTimeEdit->maxTime())) { mPastMax = true; emit pastMax(); -- cgit v1.2.1