summaryrefslogtreecommitdiffstats
path: root/konq-plugins/dirfilter
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-26 07:19:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-26 07:19:43 +0000
commit3768653a2aed91290e05dd3fd42d5af2006c7ed4 (patch)
tree6b1ed0f81eef0053ffb13c66a9494cef478ce4f1 /konq-plugins/dirfilter
parent2f234abde8e11481a9fdccadd37ba21ad6b4b94d (diff)
downloadtdeaddons-3768653a2aed91290e05dd3fd42d5af2006c7ed4.tar.gz
tdeaddons-3768653a2aed91290e05dd3fd42d5af2006c7ed4.zip
Fixed up rsync and dirfilter plugins
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1107600 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/dirfilter')
-rw-r--r--konq-plugins/dirfilter/dirfilterplugin.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/konq-plugins/dirfilter/dirfilterplugin.cpp b/konq-plugins/dirfilter/dirfilterplugin.cpp
index 0966f19..eee1284 100644
--- a/konq-plugins/dirfilter/dirfilterplugin.cpp
+++ b/konq-plugins/dirfilter/dirfilterplugin.cpp
@@ -388,6 +388,15 @@ void DirFilterPlugin::slotItemsAdded (const KFileItemList& list)
m_pFilterMenu->setEnabled (m_part->nameFilter().isEmpty());
return;
}
+ if ( ::qt_cast<KListView*>(m_part->scrollWidget()) )
+ {
+ static_cast<KListViewSearchLine*>(m_searchWidget)->updateSearch();
+ }
+ else if ( ::qt_cast<QIconView*>(m_part->scrollWidget()) )
+ {
+ static_cast<KIconViewSearchLine*>(m_searchWidget)->updateSearch();
+ }
+ //m_searchWidget->updateSearch();
// Make sure the filter menu is enabled once a named
// filter is removed.