summaryrefslogtreecommitdiff
path: root/qtminesweeper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtminesweeper.cpp')
-rw-r--r--qtminesweeper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtminesweeper.cpp b/qtminesweeper.cpp
index 6fd583a..6fc5f2e 100644
--- a/qtminesweeper.cpp
+++ b/qtminesweeper.cpp
@@ -20,7 +20,8 @@
qtminesweeper::qtminesweeper()
{
-
+ cell cell1(cell::MINE | cell::REVEALED);
+ cell1.flagcheck();
}
void qtminesweeper::paintEvent(QPaintEvent *event)