Skip to content

BUG: 436462, Disable notification sound for New Game warning

When a game is running (you need to have atleast made one play) and you hit "New Game" a KMessageBox will be created and a Notification sound will play. The KMessageBox has the option to not play a sound, this is achieved by the added nullptr.

It would be nice, if we could toggle that sound with the "Play Sounds" toggle from the Settings menu. This could be achieved by a new member variable in the "dealer class" that is set by the toggle and creating a KMessageBox with and without the nullptr, depending on that variable.

Is there a better idea/solution? I'm still new hear, so please correct me if I do something wrong :)

Edited by Daniel Fichtner

Merge request reports