From d46de9c4dc2e6dd530471a95f95c89f1222b9a7a Mon Sep 17 00:00:00 2001 From: ptv Date: Wed, 11 Oct 2006 10:04:14 +0000 Subject: [PATCH] porting to SALOME3.2.0 (WPdev) on linux --- src/Qtx/Qtx.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qtx/Qtx.cxx b/src/Qtx/Qtx.cxx index 6e2a31648..de0b55f3c 100755 --- a/src/Qtx/Qtx.cxx +++ b/src/Qtx/Qtx.cxx @@ -606,7 +606,7 @@ QPixmap Qtx::grayscale( const QPixmap& pix ) QImage Qtx::transparentImage( const int w, const int h, const int d ) { QImage img; - if ( img.create( w, h, d < 0 ? QPixmap::defaultDepth() : d ) ) + if ( img.create( w, h, d < 0 ? /*QPixmap::defaultDepth()*/32 : d ) ) { img.setAlphaBuffer( true ); for ( int i = 0; i < img.height(); i++ ) -- 2.39.2