]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewextensionsfactory.cpp
SVN_SILENT made messages (.desktop file)
[dolphin.git] / src / viewextensionsfactory.cpp
index 86311e28d745a057597f416764ef0d885aa98501..6bcc3a7c8e739155d2c56829146f04288cbde4e5 100644 (file)
@@ -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)