summaryrefslogtreecommitdiffstats
path: root/kalarm/alarmtimewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/alarmtimewidget.cpp')
-rw-r--r--kalarm/alarmtimewidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/alarmtimewidget.cpp b/kalarm/alarmtimewidget.cpp
index 94abd0e3..615696cf 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();