X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/fda626e07459cbd6901cbeb51da1058d0d4b3f8c..a0d3cf4aa8ffa76ed22a67efa4ea156eb2ef9f68:/src/viewextensionsfactory.cpp diff --git a/src/viewextensionsfactory.cpp b/src/viewextensionsfactory.cpp index e3ec64664..6bcc3a7c8 100644 --- a/src/viewextensionsfactory.cpp +++ b/src/viewextensionsfactory.cpp @@ -28,7 +28,7 @@ #include "selectionmanager.h" #include "settings/dolphinsettings.h" #include "tooltips/tooltipmanager.h" -#include "versioncontrolobserver.h" +#include "versioncontrol/versioncontrolobserver.h" #include "dolphin_generalsettings.h" @@ -112,10 +112,6 @@ ViewExtensionsFactory::ViewExtensionsFactory(QAbstractItemView* view, connect(dolphinView, SIGNAL(sortFoldersFirstChanged(bool)), this, SLOT(slotSortFoldersFirstChanged(bool))); - // inform the controller about selection changes - connect(view->selectionModel(), SIGNAL(selectionChanged(const QItemSelection&, const QItemSelection&)), - controller, SLOT(emitSelectionChanged())); - // Give the view the ability to auto-expand its directories on hovering // (the column view takes care about this itself). If the details view // uses expandable folders, the auto-expanding should be used always. @@ -216,7 +212,7 @@ void ViewExtensionsFactory::slotSortFoldersFirstChanged(bool foldersFirst) void ViewExtensionsFactory::slotNameFilterChanged(const QString& nameFilter) { - proxyModel()->setFilterRegExp(nameFilter); + proxyModel()->setFilterFixedString(nameFilter); } void ViewExtensionsFactory::slotRequestVersionControlActions(const KFileItemList& items)