diff options
Diffstat (limited to 'kmymoney2/views/kcategoriesview.cpp')
-rw-r--r-- | kmymoney2/views/kcategoriesview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/views/kcategoriesview.cpp b/kmymoney2/views/kcategoriesview.cpp index 6bfbbea..542cf7e 100644 --- a/kmymoney2/views/kcategoriesview.cpp +++ b/kmymoney2/views/kcategoriesview.cpp @@ -53,11 +53,11 @@ KCategoriesView::KCategoriesView(TQWidget *parent, const char *name ) : m_needReload(false) { // create the searchline widget - // and insert it into the existing tqlayout + // and insert it into the existing layout 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); + TQVBoxLayout* layout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->layout()); + if(layout) { + layout->insertWidget(0, m_searchWidget); } // setup icons for collapse and expand button |