Commit 8cfbc4e1 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

lsp: set uniform row heights

Much better for performance

(cherry picked from commit 796884d3)
parent 8cd615b0
......@@ -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);
......
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