Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 4.13.0
-
None
Description
If you declare a member variable in some class like this:
int numChannels;
then the refactoring context menu will happily offer to create a getter and setter for you.
However, if you declare it with a braced initializer, like this:
int numChannels{2};
... the offer to create getter / setter is withdrawn.
Can the refactoring menu provide create / getter setter when the member variable declaration has a braced initializer, or is there some technical reason why this isn't possible ?