From: Peter Penz Date: Thu, 16 Oct 2008 06:00:07 +0000 (+0000) Subject: fixed regression: don't change the state, otherwise when having a split view it is... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/0a156260997e2b81b0453b19e7ce36883a2e0c02 fixed regression: don't change the state, otherwise when having a split view it is not possible dragging an item from the inactive to the active view (only the rubberband gets active in this case) CCMAIL: simon@etotheipiplusone.com svn path=/trunk/KDE/kdebase/apps/; revision=871928 --- diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 08eef4307..be7da8368 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -252,7 +252,6 @@ void DolphinDetailsView::mouseMoveEvent(QMouseEvent* event) // 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(); @@ -300,7 +299,6 @@ void DolphinDetailsView::mouseReleaseEvent(QMouseEvent* event) m_expandingTogglePressed = false; if (m_showElasticBand) { - setState(NoState); updateElasticBand(); m_showElasticBand = false; }