-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
avoid some (unnecessary) default parameters in GUI class constructors / added TODOs #6297
base: main
Are you sure you want to change the base?
Conversation
I did not blindly add the parameters as it would change the behavior. This needs to be evaluated for each case if this was intentional or not. |
I think we should always pass |
Alright. Will do. I was thinking about setting breakpoints to the lines where no options are being passed to be able to extract some test cases. But that can still be done. |
It turns out this has quite a ripple effect so we should probably do that in a separate PR. |
See #6298. |
https://doc.qt.io/qt-6/qwidget.html#QWidget |
I will re-structure these PRs. |
… / added TODOs [skip ci]
Spontanously I don't think so. We either always use the Qt classes with parent in a window. Or always as a window without parent. I vote to remove the default value. |
No description provided.