[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kmines/viranch/qtquick] src/qml: Reset the number of flagged mines on new game
From: Viranch Mehta <viranch.mehta () gmail ! com>
Date: 2013-03-28 11:59:43
Message-ID: 20130328115943.2F27BA60FB () git ! kde ! org
[Download RAW message or body]
Git commit 82475fd7f63697dd27cd260a2785d162ae74f129 by Viranch Mehta.
Committed on 07/08/2012 at 20:09.
Pushed by viranch into branch 'viranch/qtquick'.
Reset the number of flagged mines on new game
M +1 -0 src/qml/logic.js
http://commits.kde.org/kmines/82475fd7f63697dd27cd260a2785d162ae74f129
diff --git a/src/qml/logic.js b/src/qml/logic.js
index a7ffef5..762e400 100644
--- a/src/qml/logic.js
+++ b/src/qml/logic.js
@@ -3,6 +3,7 @@ var firstClick = true;
function reset() {
field.rows = 0;
field.columns = 0;
+ field.flaggedMines = 0;
firstClick = true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic