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:
@@ -31,7 +31,7 @@ RiuDraggableOverlayFrame::RiuDraggableOverlayFrame( QWidget* parent, QWidget* wi
|
||||
RiuWidgetDragger* dragger = new RiuWidgetDragger( this, widgetToSnapTo );
|
||||
|
||||
QPalette pal = this->palette();
|
||||
pal.setColor( QPalette::Background, backgroundColor );
|
||||
pal.setColor( QPalette::Window, backgroundColor );
|
||||
setAutoFillBackground( true );
|
||||
setPalette( pal );
|
||||
setFrameShape( QFrame::Box );
|
||||
|
||||
Reference in New Issue
Block a user