summaryrefslogtreecommitdiff
path: root/Games/Minesweeper/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-13 14:14:38 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-13 14:14:38 +0200
commit3f37665492e8ebf5bde53176daf266f18baac18e (patch)
treee42e652aca6e4dba0269d9c86f5a8ca0c9e40c1f /Games/Minesweeper/main.cpp
parent0dbd7b04096273189483dfc1fb28f0dc0ff3cc5c (diff)
downloadserenity-3f37665492e8ebf5bde53176daf266f18baac18e.zip
Minesweeper: Fix wrong adjacency numbers on right and bottom edges.
Diffstat (limited to 'Games/Minesweeper/main.cpp')
-rw-r--r--Games/Minesweeper/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Games/Minesweeper/main.cpp b/Games/Minesweeper/main.cpp
index 3b9dcb790a..4e5c89b7a1 100644
--- a/Games/Minesweeper/main.cpp
+++ b/Games/Minesweeper/main.cpp
@@ -22,8 +22,6 @@ int main(int argc, char** argv)
container->set_preferred_size({ 0, 36 });
container->set_layout(make<GBoxLayout>(Orientation::Horizontal));
auto* face_button = new GButton(container);
- face_button->set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed);
- face_button->set_preferred_size({ 32, 32 });
face_button->set_icon(GraphicsBitmap::load_from_file("/res/icons/minesweeper/face-default.png"));
auto* field = new Field(widget);