-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
}
void message( const QString& msg )
{
+ (void)msg; // unused in debug mode
if ( theDEBUG )
MESSAGE( qPrintable( myName ) << " : " << qPrintable( msg ) );
}
*/
void PyModuleHelper::XmlHandler::createMenu( QDomNode& parentNode,
const int parentMenuId,
- QMenu* parentPopup )
+ QMenu* /*parentPopup*/ )
{
if ( !module() || parentNode.isNull() )
return;
QString& myIOR;
};
- static QString anIOR;
-
- if ( anIOR.isEmpty() ) {
- // post request
- PyInterp_Dispatcher::Get()->Exec( new EngineIORReq( myInterp,
- const_cast<PyModuleHelper*>( this ),
- anIOR ) );
- }
-
+ QString anIOR;
+ // post request
+ PyInterp_Dispatcher::Get()->Exec( new EngineIORReq( myInterp,
+ const_cast<PyModuleHelper*>( this ),
+ anIOR ) );
return anIOR;
}
\param study parent study
*/
-void PyModuleHelper::internalDeactivate( SUIT_Study* study )
+void PyModuleHelper::internalDeactivate( SUIT_Study* /*study*/ )
{
FuncMsg fmsg( "--- PyModuleHelper::internalDeactivate()" );
}
private:
PyModuleHelper* myHelper;
- int myColumn;
QString myEntry;
+ int myColumn;
};
// Posting the request only if dispatcher is not busy!