mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix Qt warning in Qt 5.13. QPalette::Background ->Window
This commit is contained in:
parent
3b0ba03e87
commit
fa72835dd8
@ -62,7 +62,7 @@ RiuWellAllocationPlot::RiuWellAllocationPlot( RimWellAllocationPlot* plotDefinit
|
||||
|
||||
// White background
|
||||
QPalette pal = this->palette();
|
||||
pal.setColor( QPalette::Background, Qt::white );
|
||||
pal.setColor( QPalette::Window, Qt::white );
|
||||
this->setAutoFillBackground( true );
|
||||
this->setPalette( pal );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user