From 51b61d7735bc4a6461a4b90493e04071ff566ae0 Mon Sep 17 00:00:00 2001 From: Rafael Fernández López Date: Thu, 13 Dec 2007 23:24:14 +0000 Subject: Fix the bug reported by Will. Now this code is also more polite. This was a TODO and now is fixed :) Still a bug somewhere on Qt... when you ctrl+selection rect (with mouse), it is lost the last selection done if they were done by groups. Going to dive more into this problem, but it lives on Qt. BUG: 153876 CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=748258 --- src/kcategorizedview_p.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/kcategorizedview_p.h') diff --git a/src/kcategorizedview_p.h b/src/kcategorizedview_p.h index aa55cda75..c420bb6ad 100644 --- a/src/kcategorizedview_p.h +++ b/src/kcategorizedview_p.h @@ -136,7 +136,6 @@ public: QString hoveredCategory; QPoint initialPressPosition; QPoint mousePosition; - QItemSelection lastSelection; QModelIndex currentViewIndex; int forcedSelectionPosition; @@ -150,12 +149,12 @@ public: QStringList categories; QModelIndexList intersectedIndexes; QRect lastDraggedItemsRect; - QRect lastSelectionRect; int modelSortRole; int modelSortColumn; int modelLastRowCount; bool modelCategorized; Qt::SortOrder modelSortOrder; + QItemSelection lastSelection; // Attributes for speed reasons KCategorizedSortFilterProxyModel *proxyModel; -- cgit v1.3