Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
8cfbc4e1
Commit
8cfbc4e1
authored
Nov 05, 2022
by
Waqar Ahmed
Browse files
lsp: set uniform row heights
Much better for performance (cherry picked from commit
796884d3
)
parent
8cd615b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/lspclient/lspclientpluginview.cpp
View file @
8cfbc4e1
...
...
@@ -780,6 +780,7 @@ public:
m_diagnosticsTreeOwn
.
reset
(
m_diagnosticsTree
);
m_diagnosticsModel
.
reset
(
new
QStandardItemModel
());
m_diagnosticsModel
->
setColumnCount
(
1
);
m_diagnosticsTree
->
setUniformRowHeights
(
true
);
m_diagnosticsTree
->
setModel
(
m_diagnosticsModel
.
data
());
configureTreeView
(
m_diagnosticsTree
);
connect
(
m_diagnosticsTree
,
&
QTreeView
::
clicked
,
this
,
&
self_type
::
goToItemLocation
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment