diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneydateinput.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneydateinput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/widgets/kmymoneydateinput.cpp b/kmymoney2/widgets/kmymoneydateinput.cpp index d0fd547..9cd3963 100644 --- a/kmymoney2/widgets/kmymoneydateinput.cpp +++ b/kmymoney2/widgets/kmymoneydateinput.cpp @@ -56,7 +56,7 @@ bool KMyMoneyDateEdit::event(TQEvent* e) // across the TQDateEdit::event(FocusOutEvent) bool rc; - kMyMoneyDateInput* p = dynamic_cast<kMyMoneyDateInput*>(tqparentWidget()); + kMyMoneyDateInput* p = dynamic_cast<kMyMoneyDateInput*>(parentWidget()); if(e->type() == TQEvent::FocusOut && p) { TQDate d = p->date(); rc = TQDateEdit::event(e); |