// case QTreeView does no selection at all, which is not the wanted behavior
// in Dolphin -> select all items within the elastic band rectangle
clearSelection();
- setState(DragSelectingState);
const int nameColumnWidth = header()->sectionSize(DolphinModel::Name);
QRect selRect = elasticBandRect();
m_expandingTogglePressed = false;
if (m_showElasticBand) {
- setState(NoState);
updateElasticBand();
m_showElasticBand = false;
}
void DolphinDetailsView::startDrag(Qt::DropActions supportedActions)
{
- DragAndDropHelper::startDrag(this, supportedActions);
+ DragAndDropHelper::startDrag(this, supportedActions, m_controller);
m_showElasticBand = false;
}