summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneyedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneyedit.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneyedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/widgets/kmymoneyedit.cpp b/kmymoney2/widgets/kmymoneyedit.cpp
index 609037e..cef4ffb 100644
--- a/kmymoney2/widgets/kmymoneyedit.cpp
+++ b/kmymoney2/widgets/kmymoneyedit.cpp
@@ -213,7 +213,7 @@ void kMyMoneyEdit::init(void)
setFocusProxy(m_edit);
// Yes, just a simple double validator !
- kMyMoneyMoneyValidator *validator = new kMyMoneyMoneyValidator(TQT_TQOBJECT(this));
+ kMyMoneyMoneyValidator *validator = new kMyMoneyMoneyValidator(this);
m_edit->setValidator(validator);
m_edit->setAlignment(AlignRight | AlignVCenter);
@@ -504,7 +504,7 @@ TQWidget* kMyMoneyEdit::focusWidget(void) const
{
TQWidget* w = m_edit;
while(w->focusProxy())
- w = TQT_TQWIDGET(w->focusProxy());
+ w = w->focusProxy();
return w;
}