mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix changes in icon color API
This commit is contained in:
parent
2e79cf614f
commit
e3b350a982
@ -116,7 +116,8 @@ void RimColorLegendItem::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrd
|
||||
{
|
||||
QColor qcolor( m_color().rByte(), m_color().gByte(), m_color().bByte() );
|
||||
|
||||
caf::QIconProvider iconProvider = this->uiIconProvider();
|
||||
iconProvider.setBackgroundColor( qcolor );
|
||||
caf::IconProvider iconProvider = this->uiIconProvider();
|
||||
|
||||
iconProvider.setBackgroundColorString( qcolor.name() );
|
||||
this->setUiIcon( iconProvider );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user