]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Minor changes (untabify).
authorouv <ouv@opencascade.com>
Mon, 18 Apr 2011 09:59:35 +0000 (09:59 +0000)
committerouv <ouv@opencascade.com>
Mon, 18 Apr 2011 09:59:35 +0000 (09:59 +0000)
src/SMESHGUI/SMESHGUI_FilterDlg.cxx

index 5c5c4b207930b142f9bdf68919604142a6c7622e..6e3b261af09aef1aa545ff65bb41ae80bc1304fc 100755 (executable)
@@ -645,7 +645,7 @@ QWidget* SMESHGUI_FilterTable::ComboDelegate::createEditor( QWidget* parent,
     if ( ok ) {
       int aPrecision = index.data( Qt::UserRole + 1 ).toInt( &ok );
       if ( !ok )
-       aPrecision = 0;
+        aPrecision = 0;
 
       SalomeApp_DoubleSpinBox* dblSpin = new SalomeApp_DoubleSpinBox( -1.e20, 1.e20, 1, aPrecision, 20, parent, false, true );
       dblSpin->setFrame( false );
@@ -673,7 +673,7 @@ void SMESHGUI_FilterTable::ComboDelegate::setEditorData( QWidget* editor,
     if( data.type() == QVariant::Double ) {
       double valueDouble = data.toDouble( &bOk );
       if( bOk )
-       dblSpin->setValue( valueDouble );
+        dblSpin->setValue( valueDouble );
     }
   }
   if ( !bOk ) QItemDelegate::setEditorData( editor, index );