Commit 9cea9079 authored by Julian Helfferich's avatar Julian Helfferich
Browse files

Fix Coverity #76269: Uninitialized member

The uninitialized member in question is the pointer mMessageBox. The
message box will be created in createGameItemGroups() and deleted in
deleteGameItemGroups(). I set the pointer to nullptr in the constructor.
parent c9b88347
......@@ -47,6 +47,8 @@ KBlocksScene::KBlocksScene(GameLogicInterface *p, int capacity)
connect(&mUpdateTimer, &QTimer::timeout, this, &KBlocksScene::updateGame);
mMessageBox = nullptr;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment