Without this patch, if both a problem and a declaration are available for a given cursor location,
KDevelop would only show the problem tooltip. This makes the declaration tooltip inaccessible, which
can be an annoyance. This patch makes it show a combined tooltip instead in this case, allowing to access both
the problem(s) and the declaration.
Edit: Instead of hardcoding something like layout->setContentsMargins(2, 2, 2, 2), is there maybe any kind of style property that can be used to define a reasonable margin size?