diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-11 15:53:01 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-11 15:53:01 +0200 |
commit | 8327b1229157f3d26191dc8835e8b184b6eb1ff3 (patch) | |
tree | 19c5f9f0eddd46032b30662b417766950202e431 /Games/Minesweeper/Field.cpp | |
parent | 22528d8db34810aba184c257d404e221f040bbb4 (diff) | |
download | serenity-8327b1229157f3d26191dc8835e8b184b6eb1ff3.zip |
Minesweeper: Remove use of copy_ref().
Diffstat (limited to 'Games/Minesweeper/Field.cpp')
-rw-r--r-- | Games/Minesweeper/Field.cpp | 2 |
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]); } } |