┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kcategorizedview_p.h
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2007-12-13 23:24:14 +0000
committerRafael Fernández López <[email protected]>2007-12-13 23:24:14 +0000
commit51b61d7735bc4a6461a4b90493e04071ff566ae0 (patch)
tree152d5577201857a95272c29f9c9df174f85c1bcd /src/kcategorizedview_p.h
parentbe448fc44f17e2cd0a3facc9bd94f0ac4828c080 (diff)
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=748258
Diffstat (limited to 'src/kcategorizedview_p.h')
-rw-r--r--src/kcategorizedview_p.h3
1 files changed, 1 insertions, 2 deletions
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;