Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 2.8.1, Qt Creator 3.0.0-rc1
-
None
-
3b14051db50f65f0e6c1319adad2224bfa6e3871 (qt-creator/qt-creator/master)
Description
Sometimes I have code that does not build since the type of the arguments given to a function is not fully specified.
Example:
void doSomething(Kit *k);
The code model is happy with this code and deduces somehow that I am referring to ProjectExplorer::Kit, but the compiler fails to get there.
So I add "ProjectExplorer::" in front of Kit. While typing I have a lightbulb after the function name and can trigger "Apply function signature changes", but when I am done typing that option is no longer available. I guess the code model thinks there is no change wrt. the type and disables the quick fix.
This is really annoying since I have to go to the function definition and repeat the change to make my compiler happy.
Could you please keep the quick fix enabled when the type is the same, but the "qualification" has changed?