From 60d28ca5c92baeb6613ac87cad53a188bd3de6eb Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 29 Aug 2009 18:35:57 +0000 Subject: centralize namefilter handling svn path=/trunk/KDE/kdebase/apps/; revision=1017117 --- src/dolphindetailsview.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/dolphindetailsview.cpp') diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 9d37fa674..f0671db55 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -114,8 +114,6 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, this, SLOT(slotEntered(const QModelIndex&))); connect(this, SIGNAL(viewportEntered()), controller, SLOT(emitViewportEntered())); - connect(controller, SIGNAL(nameFilterChanged(const QString&)), - this, SLOT(setNameFilter(const QString&))); connect(controller, SIGNAL(zoomLevelChanged(int)), this, SLOT(setZoomLevel(int))); connect(controller->dolphinView(), SIGNAL(additionalInfoChanged()), @@ -525,12 +523,6 @@ QRect DolphinDetailsView::elasticBandRect() const return QRect(topLeft, bottomRight).normalized(); } -void DolphinDetailsView::setNameFilter(const QString& nameFilter) -{ - DolphinSortFilterProxyModel* proxyModel = static_cast(model()); - proxyModel->setFilterRegExp(nameFilter); -} - void DolphinDetailsView::setZoomLevel(int level) { const int size = ZoomLevelInfo::iconSizeForZoomLevel(level); -- cgit v1.3