diff options
author | Brendan Coles <bcoles@gmail.com> | 2020-10-31 00:25:30 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-31 13:48:15 +0100 |
commit | e569f7fd1cc6cf3aed785ef639566d9d01133fa5 (patch) | |
tree | b16a2f439e50d136e60237f872a6adbd79398589 /Games | |
parent | 15b68b465312f4df8dacfc42e936f2baeddde783 (diff) | |
download | serenity-e569f7fd1cc6cf3aed785ef639566d9d01133fa5.zip |
Applications: Use application icons for dialog windows
Diffstat (limited to 'Games')
-rw-r--r-- | Games/Chess/PromotionDialog.cpp | 1 |
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>(); |