diff options
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); |
