mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Call QHeaderView::initializeSections() to initialise QHeaderView
* Because many of QHeaderView's functions are annoyingly not virtual, we need some stub data available in QHeaderView even if it won't be used for anything much, like the number of sections.
This commit is contained in:
@@ -146,6 +146,8 @@ void RDHeaderView::cacheSections()
|
||||
if(m_pinnedColumns >= m_sections.count())
|
||||
m_pinnedWidth = m_pinnedColumns;
|
||||
|
||||
QHeaderView::initializeSections();
|
||||
|
||||
QStyleOptionHeader opt;
|
||||
initStyleOption(&opt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user