diff options
author | Przemyslaw Gorszkowski <pgorszkowski@gmail.com> | 2013-08-18 21:47:14 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-08-21 14:27:47 +0200 |
commit | bf69b4c4446fbcc5feb94edcc89ff87078b2afcf (patch) | |
tree | dd9f6f3ba9a90e34815ca30922fd75ed45216264 /src/plugins/cpptools/cppcompletion_test.cpp | |
parent | a79d47c888e7ae12608f7809250f03e7aa3d3b10 (diff) | |
download | qt-creator-bf69b4c4446fbcc5feb94edcc89ff87078b2afcf.tar.gz |
C++: wrong tooltip behind function without args
Example code:
float fun()
{
return 0;
}
Hovering in the area behind the function without args(but in the same line,
in above example after "float fun()") will bring up tooltip with returned
value of this function(in the above example it will be "float").
Fixed by checking this special case after gathering results for tooltip
and don't show confusing tooltip.
Task-number: QTCREATORBUG-4780
Change-Id: Iab2bacddf33a70d5ea941001a2dd317c824d9db5
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcompletion_test.cpp')
0 files changed, 0 insertions, 0 deletions