summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/dateedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/dateedit.cpp')
-rw-r--r--kalarm/lib/dateedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/lib/dateedit.cpp b/kalarm/lib/dateedit.cpp
index b9699988d..2fef25de5 100644
--- a/kalarm/lib/dateedit.cpp
+++ b/kalarm/lib/dateedit.cpp
@@ -77,11 +77,11 @@ void DateEdit::pastLimitMessage(const TQDate& limit, const TQString& error, cons
TQString errString = error;
if (errString.isNull())
{
- if (limit == TQDate::tqcurrentDate())
+ if (limit == TQDate::currentDate())
errString = i18n("today");
else
errString = KGlobal::locale()->formatDate(limit, true);
- errString = defaultError.tqarg(errString);
+ errString = defaultError.arg(errString);
}
KMessageBox::sorry(this, errString);
}