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

svn path=/trunk/KDE/kdebase/apps/; revision=762539

src/dolphincolumnwidget.cpp

index 6b0fe09122d422189ce04d8c6b85b6c636ccc7aa..4bcf018040134dc85472b7f8d224d44e0a22aeb6 100644 (file)
@@ -382,14 +382,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();
 }