Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding file dialog with directory mode in preferences manager
[modules/gui.git]
/
src
/
SUIT
/
SUIT_TreeSync.h
diff --git
a/src/SUIT/SUIT_TreeSync.h
b/src/SUIT/SUIT_TreeSync.h
index 71d01ccd79de02b3532f90672344af8a2400fa7b..333d6b5d412518ce81239dce42ff690b5c99d327 100644
(file)
--- a/
src/SUIT/SUIT_TreeSync.h
+++ b/
src/SUIT/SUIT_TreeSync.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
14 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-20
24 CEA, EDF
, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-131,7
+131,11
@@
TrgItem synchronize( const SrcItem& r1, const TrgItem& r2, const TreeData& td )
const DiffItem<SrcItem,TrgItem>& item = *anIt;
if ( item.mySrc == td.nullSrc() ) {
if ( item.myTrg == td.nullTrg() )
const DiffItem<SrcItem,TrgItem>& item = *anIt;
if ( item.mySrc == td.nullSrc() ) {
if ( item.myTrg == td.nullTrg() )
+ {
+#ifdef _DEBUG_
qDebug( "error: both null" );
qDebug( "error: both null" );
+#endif
+ }
else
// delete item
td.deleteItemWithChildren( item.myTrg );
else
// delete item
td.deleteItemWithChildren( item.myTrg );