vcl/qt5/QtInstanceWidget.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit edaa24ae0aef30eee959453cdbd53cb3b17c3f84
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Tue Jul 22 08:48:21 2025 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Tue Jul 22 11:02:11 2025 +0200

    tdf#130857 qt weld: Don't explicitly set COL_TRANSPARENT bg
    
    This is the equivalent of what
    
        commit 6da27d87237354fb3b6bff9effd8c0813a7098ea
        Author: Noel Grandin <noel.gran...@collabora.co.uk>
        Date:   Wed Jun 4 11:44:09 2025 +0200
    
            tdf#166842 do not use FillColor==COL_TRANSPARENT...
    
            .. on OutputDevice if that OutputDevice does not support alpha
    
    did in GtkInstanceWidget::create_virtual_device and
    makes the background for the preview images in the
    "View" -> "User Interface" dialog, tab "User Interface"
    match the background color of the dialog again with
    SAL_VCL_QT_USE_WELDED_WIDGETS=1 after it had turned black
    with
    
        commit 088a7c7c451321a800ca8d3523a18b6bb93239b7
        Date:   Tue Sep 24 16:18:11 2024 +0200
    
            remove alpha device from OutputDevice
    
    Change-Id: I110dc6699988a21f555ba85091e81d65918ebd6c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188136
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/vcl/qt5/QtInstanceWidget.cxx b/vcl/qt5/QtInstanceWidget.cxx
index 1d296cc33cb7..3cf97d867585 100644
--- a/vcl/qt5/QtInstanceWidget.cxx
+++ b/vcl/qt5/QtInstanceWidget.cxx
@@ -691,7 +691,7 @@ OUString QtInstanceWidget::escape_ui_str(const OUString& 
rLabel) const
 VclPtr<VirtualDevice> QtInstanceWidget::create_virtual_device() const
 {
     VclPtr<VirtualDevice> xRet = VclPtr<VirtualDevice>::Create();
-    xRet->SetBackground(COL_TRANSPARENT);
+    xRet->SetBackground();
     return xRet;
 }
 

Reply via email to