[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/kphotoalbum
From:       Miika Turkia <miika.turkia () gmail ! com>
Date:       2010-08-30 18:31:06
Message-ID: 20100830183106.7A872AC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1170089 by mturkia:

Fixes bug that prevented deselecting images in thumbnail view. Thanks to
Reimar Imhof for the patch.


 M  +2 -0      ChangeLog  
 M  +1 -1      ThumbnailView/SelectionInteraction.cpp  


--- trunk/extragear/graphics/kphotoalbum/ChangeLog #1170088:1170089
@@ -3,6 +3,8 @@
 	* Opening of annotation dialog: sort button selection fits real
 	sorting. Sort menu items now have check boxes. Thanks to Reimar Imhof
 	for the patch.
+	* Fixes bug that prevented deselecting images in thumbnail view.
+	Thanks to Reimar Imhof for the patch.
 
 2010-08-28  Miika Turkia <miika.turkia@gmail.com>
 
--- trunk/extragear/graphics/kphotoalbum/ThumbnailView/SelectionInteraction.cpp #1170088:1170089
@@ -42,7 +42,7 @@
 {
     _mousePressPos = event->pos();
     DB::ResultId mediaId = widget()->mediaIdUnderCursor();
-    _isMouseDragOperation = widget()->isSelected( mediaId );
+    _isMouseDragOperation = widget()->isSelected( mediaId ) & !( event->modifiers() );
     return _isMouseDragOperation;
 
 #ifdef KDAB_TEMPORARILY_REMOVED
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic