summaryrefslogtreecommitdiffstats
path: root/kcontrol/crypto/kdatetimedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/crypto/kdatetimedlg.cpp')
-rw-r--r--kcontrol/crypto/kdatetimedlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/crypto/kdatetimedlg.cpp b/kcontrol/crypto/kdatetimedlg.cpp
index f7eae9883..872ffc304 100644
--- a/kcontrol/crypto/kdatetimedlg.cpp
+++ b/kcontrol/crypto/kdatetimedlg.cpp
@@ -107,7 +107,7 @@ void KDateTimeDlg::setTime(const TQTime& qtime) {
void KDateTimeDlg::setDateTime(const TQDateTime& qdatetime) {
- _date->setDate(qdatetime.date());
+ _date->setDate(TQT_TQDATE_OBJECT(qdatetime.date()));
_hours->setValue(qdatetime.time().hour());
_mins->setValue(qdatetime.time().minute());
_secs->setValue(qdatetime.time().second());