summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kcategoriesview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kcategoriesview.cpp')
-rw-r--r--kmymoney2/views/kcategoriesview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/views/kcategoriesview.cpp b/kmymoney2/views/kcategoriesview.cpp
index 7a6dec4..d543aae 100644
--- a/kmymoney2/views/kcategoriesview.cpp
+++ b/kmymoney2/views/kcategoriesview.cpp
@@ -54,8 +54,8 @@ KCategoriesView::KCategoriesView(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);
}