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:
Gaute Lindkvist committed 2019-12-04 12:34:17 +01:00
1 parent 5139f1cadb
commit 9599b309bc
5 files changed
+6 -6

No files matched your search

@@ -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 );