From: stv Date: Wed, 23 Nov 2005 09:26:35 +0000 (+0000) Subject: no message X-Git-Tag: BR_3_1_0_deb~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6552270524a4ffaf814423b5cd49e94222e80d5b;p=modules%2Fgui.git no message --- diff --git a/src/Qtx/QtxWorkstack.cxx b/src/Qtx/QtxWorkstack.cxx index b2fa2b9bd..d48823096 100644 --- a/src/Qtx/QtxWorkstack.cxx +++ b/src/Qtx/QtxWorkstack.cxx @@ -4,6 +4,7 @@ #include "QtxWorkstack.h" #include +#include #include #include #include @@ -1428,7 +1429,11 @@ void QtxWorkstackArea::updateTab( QWidget* wid ) QIconSet icoSet; if ( wid->icon() ) - icoSet = QIconSet( *wid->icon() ); + { + QPixmap pix = *wid->icon(); + pix.convertFromImage( pix.convertToImage().smoothScale( pix.width(), 16, QImage::ScaleMin ) ); + icoSet = QIconSet( pix ); + } tab->setIconSet( icoSet ); tab->setText( wid->caption() );