Commit f3dcd235 authored by David Edmundson's avatar David Edmundson Committed by Christoph Cullmann
Browse files

Show LspClient after positioning

Otherwise we are slightly wasteful on all platforms. On wayland it is
problematic as QtWayland does not currently support popup repositioning.

It looks like show() code was moved early so that we would have the size
ahead of positioning, but there is another way to achieve that. This is
the method that QMenu uses internally.

BUG: 443895
parent a73b2afc
Pipeline #91357 passed with stage
in 3 minutes and 17 seconds
......@@ -250,10 +250,11 @@ void LspTooltip::show(const QString &text, QPoint pos, KTextEditor::View *v, boo
delete tooltip;
tooltip = new Tooltip(v, manual);
#include "lsptooltip.moc"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment