mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
QBrush() is not a 'use default' return value from a model, QVariant() is
This commit is contained in:
@@ -192,7 +192,7 @@ public:
|
||||
return widget->palette().brush(QPalette::Window);
|
||||
|
||||
// otherwise, no special background
|
||||
return QBrush();
|
||||
return QVariant();
|
||||
}
|
||||
else if(role == Qt::ForegroundRole)
|
||||
{
|
||||
@@ -203,7 +203,7 @@ public:
|
||||
if(widget->m_currentHoverItem == item)
|
||||
return widget->palette().brush(QPalette::WindowText);
|
||||
|
||||
return QBrush();
|
||||
return QVariant();
|
||||
}
|
||||
else if(role == Qt::ToolTipRole)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user