mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Optimise RichResourceText to special-case for single ResourceId text
* Most cases don't have other text together with a ResourceId, so handle an isolated ResourceId specially and manually render it. * Further work - we could cache the name the same way as the RichResourceText does. So far it doesn't seem to appear on profiling.
This commit is contained in:
@@ -342,7 +342,7 @@ void RDTableView::mouseMoveEvent(QMouseEvent *e)
|
||||
|
||||
update(newHover);
|
||||
|
||||
if(m_delegate && m_delegate->linkHover(e, newHover))
|
||||
if(m_delegate && m_delegate->linkHover(e, font(), newHover))
|
||||
{
|
||||
setCursor(QCursor(Qt::PointingHandCursor));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user