avoid some (unnecessary) default parameters in GUI class constructors / added TODOs#6297
avoid some (unnecessary) default parameters in GUI class constructors / added TODOs#6297firewave wants to merge 1 commit intocppcheck-opensource:mainfrom
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.