Salome HOME
Clean source code
[plugins/blsurfplugin.git] / src / GUI / BLSURFPluginGUI_HypothesisCreator.cxx
index 8de8242ee1706fbdc2c3acecb7167dcacc8b0006..80ed5c124cb8d5bb2ad4c36cbace41ef437e4b8f 100644 (file)
@@ -306,7 +306,6 @@ QWidget *EnforcedTreeWidgetDelegate::createEditor(QWidget *parent,
     }
     return editor;
   }
-
 }
 
 void EnforcedTreeWidgetDelegate::setEditorData(QWidget *editor,
@@ -397,22 +396,6 @@ bool EnforcedTreeWidgetDelegate::vertexExists(QAbstractItemModel *model,
         }
       }
     }
-//     else if (col == ENF_VER_ENTRY_COLUMN) {
-//       // Compare entries if no coords (= selected geom)
-//       xString = parent.child(row, ENF_VER_X_COLUMN).data(Qt::EditRole).toString();
-//       if (xString.isEmpty) {
-//         int nbChildren = model->rowCount(parent);
-//         for (int i = 0 ; i < nbChildren ; i++) {
-//           if (i != row) {
-//             QString childName = parent.child(i, ENF_VER_ENTRY_COLUMN).data(Qt::EditRole).toString();
-//             if (childName == value) {
-//               exists = true;
-//               break;
-//             }
-//           }
-//         }
-//       }
-//     }
     else if (col == ENF_VER_NAME_COLUMN) {
       int nbChildren = model->rowCount(parent);
       for (int i = 0 ; i < nbChildren ; i++) {