#include "selectionmanager.h"
#include "settings/dolphinsettings.h"
#include "tooltips/tooltipmanager.h"
-#include "versioncontrolobserver.h"
+#include "versioncontrol/versioncontrolobserver.h"
#include "dolphin_generalsettings.h"
}
// initialize preview generator
+ Q_ASSERT(view->iconSize().isValid());
m_previewGenerator = new KFilePreviewGenerator(view);
m_previewGenerator->setPreviewShown(controller->dolphinView()->showPreview());
connect(controller, SIGNAL(zoomLevelChanged(int)),
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.
void ViewExtensionsFactory::slotNameFilterChanged(const QString& nameFilter)
{
- proxyModel()->setFilterRegExp(nameFilter);
+ proxyModel()->setFilterFixedString(nameFilter);
}
void ViewExtensionsFactory::slotRequestVersionControlActions(const KFileItemList& items)