m_index = columnIndex;
activeColumn()->setActive(true);
- expandToActiveUrl();
+ connect(dirLister, SIGNAL(completed()),
+ this, SLOT(expandToActiveUrl()));
+ dirLister->openUrl(rootUrl, false, true);
}
void DolphinColumnView::selectAll()
void DolphinColumnView::expandToActiveUrl()
{
+ disconnect(m_dolphinModel->dirLister(), SIGNAL(completed()),
+ this, SLOT(expandToActiveUrl()));
+
const int lastIndex = m_columns.count() - 1;
Q_ASSERT(lastIndex >= 0);
const KUrl& activeUrl = m_columns[lastIndex]->url();
for (int i = 0; i <= end; ++i) {
ColumnWidget* nextColumn = m_columns[i + 1];
- KDirLister* dirLister = m_dolphinModel->dirLister();
- dirLister->updateDirectory(nextColumn->url());
-
const QModelIndex rootIndex = nextColumn->rootIndex();
if (rootIndex.isValid()) {
nextColumn->show();