diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-11-12 00:23:27 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-11-12 00:23:27 (GMT) |
commit | 6e49bbc11a0cbe2f596f26066256154b0a5b23be (patch) | |
tree | 2d7cb412d212187c9b07a9f6d9fcd2b461a70936 /demos/declarative/minehunt/minehunt.cpp | |
parent | 1d228b5d532dc158d1c9ac3347168cdc11378779 (diff) | |
parent | 7a81735272b5ee065f499a492cca4b4a703e0659 (diff) | |
download | Qt-6e49bbc11a0cbe2f596f26066256154b0a5b23be.zip Qt-6e49bbc11a0cbe2f596f26066256154b0a5b23be.tar.gz Qt-6e49bbc11a0cbe2f596f26066256154b0a5b23be.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11
Diffstat (limited to 'demos/declarative/minehunt/minehunt.cpp')
-rw-r--r-- | demos/declarative/minehunt/minehunt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/minehunt/minehunt.cpp b/demos/declarative/minehunt/minehunt.cpp index 709d945..aaaaaac 100644 --- a/demos/declarative/minehunt/minehunt.cpp +++ b/demos/declarative/minehunt/minehunt.cpp @@ -211,7 +211,7 @@ bool MinehuntGame::flip(int row, int col) bool MinehuntGame::flag(int row, int col) { TileData *t = tile(row, col); - if(!t || !playing) + if(!t || !playing || t->flipped()) return false; t->setHasFlag(!t->hasFlag()); |