From: ptv Date: Wed, 11 Oct 2006 10:04:14 +0000 (+0000) Subject: porting to SALOME3.2.0 (WPdev) on linux X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d46de9c4dc2e6dd530471a95f95c89f1222b9a7a;p=modules%2Fgui.git porting to SALOME3.2.0 (WPdev) on linux --- 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++ )