-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete TitleBar buttons directly if they're not in their event handler
If they're inside the event handler, they will be deleted later, otherwise immediately. By doing it immediately we prevent leaks at exit and make valgrind and other tools happy. Specially since due to the QTBUG-83030 workaround some leaks were introduced, as QTimers don't run after qApp went away.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters