Minesweeper: Remove use of copy_ref().

This commit is contained in:
Andreas Kling 2019-07-11 15:53:01 +02:00
parent 22528d8db3
commit 8327b12291

View file

@ -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]);
}
}