]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fixed bug with uninitialized field.
authorsan <san@opencascade.com>
Fri, 23 Sep 2011 08:46:49 +0000 (08:46 +0000)
committersan <san@opencascade.com>
Fri, 23 Sep 2011 08:46:49 +0000 (08:46 +0000)
src/Qtx/QtxWorkstack.cxx

index a9c4bf5587d10e1a481b9a20f2a0f9471729b9de..b4940a4587af90dfd17fa75901f1b7fc5f544e8e 100644 (file)
@@ -1312,7 +1312,8 @@ void QtxWorkstackChild::childEvent( QChildEvent* e )
 */
 QtxWorkstackTabBar::QtxWorkstackTabBar( QWidget* parent )
 : QTabBar( parent ),
-  myId( -1 )
+  myId( -1 ),
+  myActive( false )
 {
   setDrawBase( true );
   setElideMode( Qt::ElideNone );