mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 21:45:20 +00:00
Minesweeper: Remove use of copy_ref().
This commit is contained in:
parent
22528d8db3
commit
8327b12291
Notes:
sideshowbarker
2024-07-19 13:19:44 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8327b122915
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue