KFileItem item = m_dolphinModel->itemForIndex(dirIndex);
Q_ASSERT(!item.isNull());
if (item.isDir()) {
- DragAndDropHelper::dropUrls(item, item.url(), event, this);
+ DragAndDropHelper::instance().dropUrls(item, item.url(), event, this);
}
}
}
{
m_treeView->setExpanded(index, true);
selectLeafDirectory();
+ m_treeView->resizeColumnToContents(DolphinModel::Name);
}
void TreeViewSidebarPage::scrollToLeaf()