mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
untabify
This commit is contained in:
parent
5c5ce5f038
commit
a63a653731
@ -5956,21 +5956,21 @@ void SMESHGUI::message( const QString& msg )
|
||||
// get mesh entry
|
||||
QString entry = data.count() > 1 ? data[1] : QString();
|
||||
if ( entry.isEmpty() )
|
||||
return;
|
||||
return;
|
||||
// get study
|
||||
_PTR(Study) study = dynamic_cast<SalomeApp_Study*>( application()->activeStudy() )->studyDS();
|
||||
// get mesh name
|
||||
_PTR(SObject) obj = study->FindObjectID( entry.toLatin1().constData() );
|
||||
QString name;
|
||||
if ( obj )
|
||||
name = obj->GetName().c_str();
|
||||
name = obj->GetName().c_str();
|
||||
if ( name.isEmpty() )
|
||||
return;
|
||||
return;
|
||||
|
||||
if ( data.last() == "stop" )
|
||||
application()->putInfo( tr( "MESH_LOADING_MSG_FINISHED" ).arg( name ) );
|
||||
application()->putInfo( tr( "MESH_LOADING_MSG_FINISHED" ).arg( name ) );
|
||||
else
|
||||
application()->putInfo( tr( "MESH_LOADING_MSG" ).arg( name ) );
|
||||
application()->putInfo( tr( "MESH_LOADING_MSG" ).arg( name ) );
|
||||
QApplication::processEvents();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user