mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Replace all occurences of QPalette::Background with QPalette::Window
QPalette::Background is deprecated and gives warning in Qt 5.13
This commit is contained in:
@@ -129,7 +129,7 @@ void RiuPvtPlotWidget::setPlotDefaults( QwtPlot* plot )
|
||||
{
|
||||
// Plot background and frame look
|
||||
QPalette newPalette( plot->palette() );
|
||||
newPalette.setColor( QPalette::Background, Qt::white );
|
||||
newPalette.setColor( QPalette::Window, Qt::white );
|
||||
plot->setPalette( newPalette );
|
||||
|
||||
plot->setAutoFillBackground( true );
|
||||
|
||||
Reference in New Issue
Block a user