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
|
// get mesh entry
|
||||||
QString entry = data.count() > 1 ? data[1] : QString();
|
QString entry = data.count() > 1 ? data[1] : QString();
|
||||||
if ( entry.isEmpty() )
|
if ( entry.isEmpty() )
|
||||||
return;
|
return;
|
||||||
// get study
|
// get study
|
||||||
_PTR(Study) study = dynamic_cast<SalomeApp_Study*>( application()->activeStudy() )->studyDS();
|
_PTR(Study) study = dynamic_cast<SalomeApp_Study*>( application()->activeStudy() )->studyDS();
|
||||||
// get mesh name
|
// get mesh name
|
||||||
_PTR(SObject) obj = study->FindObjectID( entry.toLatin1().constData() );
|
_PTR(SObject) obj = study->FindObjectID( entry.toLatin1().constData() );
|
||||||
QString name;
|
QString name;
|
||||||
if ( obj )
|
if ( obj )
|
||||||
name = obj->GetName().c_str();
|
name = obj->GetName().c_str();
|
||||||
if ( name.isEmpty() )
|
if ( name.isEmpty() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ( data.last() == "stop" )
|
if ( data.last() == "stop" )
|
||||||
application()->putInfo( tr( "MESH_LOADING_MSG_FINISHED" ).arg( name ) );
|
application()->putInfo( tr( "MESH_LOADING_MSG_FINISHED" ).arg( name ) );
|
||||||
else
|
else
|
||||||
application()->putInfo( tr( "MESH_LOADING_MSG" ).arg( name ) );
|
application()->putInfo( tr( "MESH_LOADING_MSG" ).arg( name ) );
|
||||||
QApplication::processEvents();
|
QApplication::processEvents();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user