diff options
| author | Peter Penz <[email protected]> | 2009-08-29 18:35:57 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-08-29 18:35:57 +0000 |
| commit | 60d28ca5c92baeb6613ac87cad53a188bd3de6eb (patch) | |
| tree | e0e31cb93e3c4317f82db5e0901ad1cc234d1435 /src/dolphindetailsview.cpp | |
| parent | baaab6d17beb78e3209c2d6fa87c04f7b97abfe2 (diff) | |
centralize namefilter handling
svn path=/trunk/KDE/kdebase/apps/; revision=1017117
Diffstat (limited to 'src/dolphindetailsview.cpp')
| -rw-r--r-- | src/dolphindetailsview.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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<DolphinSortFilterProxyModel*>(model()); - proxyModel->setFilterRegExp(nameFilter); -} - void DolphinDetailsView::setZoomLevel(int level) { const int size = ZoomLevelInfo::iconSizeForZoomLevel(level); |
