]> cloud.milkyroute.net Git - dolphin.git/commitdiff
fixed regression: don't change the state, otherwise when having a split view it is...
authorPeter Penz <peter.penz19@gmail.com>
Thu, 16 Oct 2008 06:00:07 +0000 (06:00 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 16 Oct 2008 06:00:07 +0000 (06:00 +0000)
CCMAIL:  simon@etotheipiplusone.com

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

src/dolphindetailsview.cpp

index 08eef4307c57cf8d0c2ba3c2c3e7feb579dae833..be7da836838f95c5d456b4ffc6a2931d69363e4f 100644 (file)
@@ -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;
     }