diff --git a/Games/Chess/PromotionDialog.cpp b/Games/Chess/PromotionDialog.cpp index b9416f6ed2..a3b090c2f5 100644 --- a/Games/Chess/PromotionDialog.cpp +++ b/Games/Chess/PromotionDialog.cpp @@ -31,6 +31,7 @@ PromotionDialog::PromotionDialog(ChessWidget& chess_widget) : Dialog(chess_widget.window()) + , m_selected_piece(Chess::Type::None) { set_title("Choose piece to promote to"); resize(70 * 4, 70);