mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-24 23:23:58 +00:00
Chess: Uninitialized member in PromotionalDialog, found by Coverity
This commit is contained in:
parent
832b3256d3
commit
eed9f2bac3
Notes:
sideshowbarker
2024-07-19 03:31:14 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/eed9f2bac30 Pull-request: https://github.com/SerenityOS/serenity/pull/3184 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/bugaevc
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue