Fix Qt warning in Qt 5.13. QPalette::Background ->Window

This commit is contained in:
Gaute Lindkvist
2019-11-29 09:07:20 +01:00
parent 3b0ba03e87
commit fa72835dd8

View File

@@ -62,7 +62,7 @@ RiuWellAllocationPlot::RiuWellAllocationPlot( RimWellAllocationPlot* plotDefinit
// White background // White background
QPalette pal = this->palette(); QPalette pal = this->palette();
pal.setColor( QPalette::Background, Qt::white ); pal.setColor( QPalette::Window, Qt::white );
this->setAutoFillBackground( true ); this->setAutoFillBackground( true );
this->setPalette( pal ); this->setPalette( pal );