-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various small fixes #6372
Various small fixes #6372
Conversation
924c62a
to
913604b
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
# button, by the moment the request callback triggers some actions on the model, | ||
# QT could have already deleted the underlying model object, which will result in | ||
# "wrapped C/C++ object has been deleted" error (see e.g. https://github.com/Tribler/tribler/issues/6083) | ||
for data, method in ((patch_data, "PATCH"), (delete_data, "DELETE")): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO, unrolled for-loop looks a bit more clear here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, that way I'd have to repeat the comment twice 😉
fixes #6369
fixes #6366
fixes #6368
fixes #6083
fixes #6213
fixes #5886