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

List:       kde-commits
Subject:    branches/KDE/3.5/kdegames/kmines
From:       Matt Rogers <mattr () kde ! org>
Date:       2006-10-18 3:28:44
Message-ID: 1161142124.359737.2563.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 596638 by mattr:

Apply patch from bug #133257 to fix that bug for the reporter. 
No response from the assignee (who appears to be inactive for quite
awhile).

Thanks for the patch!

BUG: 133257



 M  +4 -3      field.cpp  
 M  +1 -1      field.h  


--- branches/KDE/3.5/kdegames/kmines/field.cpp #596637:596638
@@ -231,14 +231,15 @@
 
 void Field::keyboardAutoReveal()
 {
-	pressClearFunction(_cursor, true);
+	_cursor_back = _cursor;
+	pressClearFunction(_cursor_back, true);
 	QTimer::singleShot(50, this, SLOT(keyboardAutoRevealSlot()));
 }
 
 void Field::keyboardAutoRevealSlot()
 {
-	pressClearFunction(_cursor, false);
-	doAutoReveal(_cursor);
+	pressClearFunction(_cursor_back, false);
+	doAutoReveal(_cursor_back);
 }
 
 void Field::doAutoReveal(const Coord &c)
--- branches/KDE/3.5/kdegames/kmines/field.h #596637:596638
@@ -86,7 +86,7 @@
 	GameState   _state;
 	bool              _reveal;
 	SolvingState _solvingState;
-	KGrid2D::Coord  _cursor, _advisedCoord;
+	KGrid2D::Coord  _cursor, _cursor_back, _advisedCoord;
 	double        _advisedProba;
 	int               _currentAction;
 	Level          _level;
[prev in list] [next in list] [prev in thread] [next in thread] 

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