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

List:       kde-commits
Subject:    KDE/kdegames/kmines
From:       Dmitry Suzdalev <dimsuz () gmail ! com>
Date:       2009-10-30 15:34:31
Message-ID: 1256916871.713685.17604.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1042755 by dimsuz:

Unpress a cell if we just got left+right mouse buttons pressed

BUG: 206688


 M  +4 -0      minefielditem.cpp  


--- trunk/KDE/kdegames/kmines/minefielditem.cpp #1042754:1042755
@@ -326,6 +326,10 @@
 
     if(midButtonPressed)
     {
+        // in case we just started mid-button emulation (first LeftClick then added a RightClick)
+        // undo press that was made by LeftClick. in other cases it won't hurt :)
+        itemUnderMouse->undoPress();
+
         QList<CellItem*> neighbours = adjasentItemsFor(row,col);
         foreach(CellItem* item, neighbours)
         {
[prev in list] [next in list] [prev in thread] [next in thread] 

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