diff options
| author | Rafael Fernández López <[email protected]> | 2007-06-23 15:39:21 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-06-23 15:39:21 +0000 |
| commit | 78195dd8fe00d69e4ee763c037b6890ad90fba73 (patch) | |
| tree | 3f32e1d9029e4df77aa8cafe448fd5f3817319d0 /src/klistview_p.h | |
| parent | 66f4c8b3c82fc4dbe7dc6bc0b90005f009925973 (diff) | |
Improve selection speed. I think we can still improve this a little bit, but I think we can live with this speed for now
svn path=/trunk/KDE/kdebase/apps/; revision=679308
Diffstat (limited to 'src/klistview_p.h')
| -rw-r--r-- | src/klistview_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/klistview_p.h b/src/klistview_p.h index 58ac3486e..4a0a53f9b 100644 --- a/src/klistview_p.h +++ b/src/klistview_p.h @@ -127,7 +127,8 @@ public: QHash<QString, QRect> categoriesPosition; QStringList categories; QModelIndexList intersectedIndexes; - QModelIndexList tempSelected; + QHash<QModelIndex, bool> isIndexSelected; // selection cache + QHash<QModelIndex, bool> isTemporarySelected; // selection cache // Attributes for speed reasons KSortFilterProxyModel *proxyModel; |
