diff options
Diffstat (limited to 'kmymoney2/views/kaccountsview.cpp')
-rw-r--r-- | kmymoney2/views/kaccountsview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/views/kaccountsview.cpp b/kmymoney2/views/kaccountsview.cpp index c8cffb5..029e6ab 100644 --- a/kmymoney2/views/kaccountsview.cpp +++ b/kmymoney2/views/kaccountsview.cpp @@ -75,8 +75,8 @@ KAccountsView::KAccountsView(TQWidget *tqparent, const char *name) : { // create the searchline widget // and insert it into the existing tqlayout - m_searchWidget = new KListViewSearchLineWidget(m_accountTree, m_accountTree->tqparentWidget()); - TQVBoxLayout* tqlayout = dynamic_cast<TQVBoxLayout*>(m_accountTree->tqparentWidget()->tqlayout()); + m_searchWidget = new KListViewSearchLineWidget(m_accountTree, m_accountTree->parentWidget()); + TQVBoxLayout* tqlayout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->tqlayout()); if(tqlayout) { tqlayout->insertWidget(0, m_searchWidget); } |