summaryrefslogtreecommitdiffstats
path: root/demos/declarative/minehunt
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-05-11 07:21:50 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-05-11 07:21:50 (GMT)
commit2445d7adc19bb1355cbba8361345feb9d4cf10f9 (patch)
treeed6850eb85fa2da86ea39e5a45c4a5dc2b2a7ec5 /demos/declarative/minehunt
parent367798c3cfaac56d82b29a90061d621e2b5854a5 (diff)
downloadQt-2445d7adc19bb1355cbba8361345feb9d4cf10f9.zip
Qt-2445d7adc19bb1355cbba8361345feb9d4cf10f9.tar.gz
Qt-2445d7adc19bb1355cbba8361345feb9d4cf10f9.tar.bz2
Emit numFlagsChanged
Task-number: QTBUG-10552
Diffstat (limited to 'demos/declarative/minehunt')
-rw-r--r--demos/declarative/minehunt/minehunt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/declarative/minehunt/minehunt.cpp b/demos/declarative/minehunt/minehunt.cpp
index 93cd1c1..2a4ed10 100644
--- a/demos/declarative/minehunt/minehunt.cpp
+++ b/demos/declarative/minehunt/minehunt.cpp
@@ -212,6 +212,8 @@ void MinehuntGame::reset()
}
nMines = 12;
nFlags = 0;
+ emit numMinesChanged();
+ emit numFlagsChanged();
setPlaying(false);
QTimer::singleShot(600,this, SLOT(setBoard()));
}