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:
@@ -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 );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user