GetFloat( const QString& theValue,
vtkFloatingPointType theDefault )
{
- int pos = theValue.find( ":" );
+ int pos = theValue.indexOf( ":" );
vtkFloatingPointType val = theDefault;
if( pos>=0 )
{
vtkFloatingPointType val = theDefault;
SUIT_ResourceMgr* mgr = SUIT_Session::session()->resourceMgr();
if( mgr )
- val = (vtkFloatingPointType) mgr->doubleValue( theValue, theSection, theDefault );
+ val = (vtkFloatingPointType) mgr->doubleValue( theSection, theValue, theDefault );
return val;
}