1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

Applications: Use application icons for dialog windows

This commit is contained in:
Brendan Coles 2020-10-31 00:25:30 +00:00 committed by Andreas Kling
parent 15b68b4653
commit e569f7fd1c
5 changed files with 7 additions and 0 deletions

View file

@ -34,6 +34,7 @@ PromotionDialog::PromotionDialog(ChessWidget& chess_widget)
, m_selected_piece(Chess::Type::None)
{
set_title("Choose piece to promote to");
set_icon(chess_widget.window()->icon());
resize(70 * 4, 70);
auto& main_widget = set_main_widget<GUI::Frame>();