summaryrefslogtreecommitdiff
path: root/Games
diff options
context:
space:
mode:
authorBrendan Coles <bcoles@gmail.com>2020-10-31 00:25:30 +0000
committerAndreas Kling <kling@serenityos.org>2020-10-31 13:48:15 +0100
commite569f7fd1cc6cf3aed785ef639566d9d01133fa5 (patch)
treeb16a2f439e50d136e60237f872a6adbd79398589 /Games
parent15b68b465312f4df8dacfc42e936f2baeddde783 (diff)
downloadserenity-e569f7fd1cc6cf3aed785ef639566d9d01133fa5.zip
Applications: Use application icons for dialog windows
Diffstat (limited to 'Games')
-rw-r--r--Games/Chess/PromotionDialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Games/Chess/PromotionDialog.cpp b/Games/Chess/PromotionDialog.cpp
index a3b090c2f5..e106b88ca0 100644
--- a/Games/Chess/PromotionDialog.cpp
+++ b/Games/Chess/PromotionDialog.cpp
@@ -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>();