-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
\brief Process action activated by the user.
\param type action ID
*/
-void QtxWorkstackAction::perform( const int type )
+void QtxWorkstackAction::perform( const int /*type*/ )
{
/*
switch ( type )
// Buttons for possibility of switching the variants of split
myButtonPrevious = new QPushButton( this );
- myButtonPrevious->setIcon( QIcon( QPixmap( prev_xpm ) ) );
+ myButtonPrevious->setIcon( QPixmap( prev_xpm ) );
myButtonPrevious->setAutoDefault(true);
myButtonPrevious->setEnabled( false );
myButtonNext = new QPushButton( this );
- myButtonNext->setIcon( QIcon( QPixmap( next_xpm ) ) );
+ myButtonNext->setIcon( QPixmap( next_xpm ) );
myButtonNext->setAutoDefault(true);
myButtonNext->setEnabled( false );
}
for( int i = 0; i < 4; i++ ) {
if( myComboBox[i] != aSender ) {
- ViewMode aNewMode;
+ ViewMode aNewMode = XYZ;
if( myMapComboBoxMode[myComboBox[i]] == (ViewMode)(theItem) ) {
for( int j = 0; j < 4; j++ )
if( !aModeEnabledMap[(ViewMode)j] )