summaryrefslogtreecommitdiff
path: root/Games/Minesweeper/Field.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-11 15:53:01 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-11 15:53:01 +0200
commit8327b1229157f3d26191dc8835e8b184b6eb1ff3 (patch)
tree19c5f9f0eddd46032b30662b417766950202e431 /Games/Minesweeper/Field.cpp
parent22528d8db34810aba184c257d404e221f040bbb4 (diff)
downloadserenity-8327b1229157f3d26191dc8835e8b184b6eb1ff3.zip
Minesweeper: Remove use of copy_ref().
Diffstat (limited to 'Games/Minesweeper/Field.cpp')
-rw-r--r--Games/Minesweeper/Field.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Minesweeper/Field.cpp b/Games/Minesweeper/Field.cpp
index c3fbd92667..4c0f7792f4 100644
--- a/Games/Minesweeper/Field.cpp
+++ b/Games/Minesweeper/Field.cpp
@@ -263,7 +263,7 @@ void Field::reset()
if (square.has_mine)
continue;
if (square.number)
- square.label->set_icon(m_number_bitmap[square.number - 1].copy_ref());
+ square.label->set_icon(m_number_bitmap[square.number - 1]);
}
}