]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Backport of fix for the scroll+click column bug
authorRafael Fernández López <ereslibre@kde.org>
Thu, 17 Jan 2008 09:34:54 +0000 (09:34 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Thu, 17 Jan 2008 09:34:54 +0000 (09:34 +0000)
BUG: 155751

svn path=/branches/KDE/4.0/kdebase/apps/; revision=762544

src/dolphincolumnwidget.cpp

index 195d0fc0124975a5192bd8e4a6d169b68b4b8c09..fcda0676ab7ce08f2b9b377e45041fe9ae705c3f 100644 (file)
@@ -432,14 +432,6 @@ void DolphinColumnWidget::activate()
                 this, SLOT(triggerItem(const QModelIndex&)));
     }
 
-    if (!m_childUrl.isEmpty()) {
-        // assure that the current index is set on the index that represents
-        // the child URL
-        const QModelIndex dirIndex = m_dolphinModel->indexForUrl(m_childUrl);
-        const QModelIndex proxyIndex = m_proxyModel->mapFromSource(dirIndex);
-        selectionModel()->setCurrentIndex(proxyIndex, QItemSelectionModel::Current);
-    }
-
     updateBackground();
 }