vlc | branch: master | Alexandre Janniaux <[email protected]> | Thu Jul 25 
01:14:50 2019 +0200| [322d29b15b818ddf13c297e8318d6d2157229793] | committer: 
Jean-Baptiste Kempf

qt: toolbar: replace deprecated QPalette::background() QPalette::background

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=322d29b15b818ddf13c297e8318d6d2157229793
---

 modules/gui/qt/dialogs/toolbar.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/dialogs/toolbar.cpp 
b/modules/gui/qt/dialogs/toolbar.cpp
index 9be772589a..7ca554aa18 100644
--- a/modules/gui/qt/dialogs/toolbar.cpp
+++ b/modules/gui/qt/dialogs/toolbar.cpp
@@ -331,7 +331,7 @@ void PreviewWidget::paintEvent( QPaintEvent * )
             if ( !strcmp( item->widget()->metaObject()->className(), "QLabel" 
) )
             {
                 QPainter eraser( &pixmaps[i] );
-                eraser.fillRect( item->geometry(), palette().background() );
+                eraser.fillRect( item->geometry(), palette().window() );
                 eraser.end();
             }
         }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to