mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:17:34 +00:00
Minesweeper: Remove use of copy_ref().
This commit is contained in:
parent
22528d8db3
commit
8327b12291
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ void Field::reset()
|
||||||
if (square.has_mine)
|
if (square.has_mine)
|
||||||
continue;
|
continue;
|
||||||
if (square.number)
|
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
Add a link
Reference in a new issue