From 1e3da1945921f8bb3e40a057044ac45518597066 Mon Sep 17 00:00:00 2001 From: Rafael Fernández López Date: Sat, 15 Dec 2007 16:48:07 +0000 Subject: This fixes the selection problem with the mouse _only_ for the categorized view. QListView has a bug that will toggle the last selection done, have to report it to TT. BUG: 154028 CCMAIL: wstephenson@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=748822 --- src/kcategorizedview_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kcategorizedview_p.h') diff --git a/src/kcategorizedview_p.h b/src/kcategorizedview_p.h index c420bb6ad..a18854ba3 100644 --- a/src/kcategorizedview_p.h +++ b/src/kcategorizedview_p.h @@ -130,13 +130,13 @@ public: // Behavior data bool mouseButtonPressed; + bool rightMouseButtonPressed; bool isDragging; bool dragLeftViewport; QModelIndex hovered; QString hoveredCategory; QPoint initialPressPosition; QPoint mousePosition; - QModelIndex currentViewIndex; int forcedSelectionPosition; // Cache data -- cgit v1.3