Skip to content

Commit

Permalink
Fix blocking message box leak
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Oct 16, 2024
1 parent 32a780e commit 2361e0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/frontend/statusrelay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ void StatusRelay::messageHandler(const Message& message)
msg->setTextInteractionFlags(Qt::TextSelectableByMouse);

if(message.blocking)
{
msg->exec();
delete msg;
}
else
{
msg->setAttribute(Qt::WA_DeleteOnClose);
Expand Down

0 comments on commit 2361e0e

Please sign in to comment.