diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2014-03-03 13:46:44 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-03 13:46:44 +0100 |
| commit | 2e02da046d3e56cdf4744f644af35ad07424f48b (patch) | |
| tree | f2dcf353aa2338eae1c2ff2c41af971c580c2762 /src/collection.cpp | |
| parent | 3c13229d98167ae4ae0710d5eeef23fef5005bf0 (diff) | |
| download | tellico-2e02da046d3e56cdf4744f644af35ad07424f48b.tar.gz tellico-2e02da046d3e56cdf4744f644af35ad07424f48b.zip | |
Update to upstream version 1.3.6
Diffstat (limited to 'src/collection.cpp')
| -rw-r--r-- | src/collection.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/collection.cpp b/src/collection.cpp index 7d121e0..59cbef6 100644 --- a/src/collection.cpp +++ b/src/collection.cpp @@ -878,6 +878,9 @@ bool Collection::mergeEntry(EntryPtr e1, EntryPtr e2, bool overwrite_, bool askU if(ret) { e1->setField(field, vals1.join(TQString::fromLatin1("; "))); } +// remove the merging due to use comments +// maybe in the future have a more intelligent way +#if 0 } else if(field->flags() & Data::Field::AllowMultiple) { // if field F allows multiple values and not a Table (see above case), // e1's F values = (e1's F values) U (e2's F values) (union) @@ -894,6 +897,7 @@ bool Collection::mergeEntry(EntryPtr e1, EntryPtr e2, bool overwrite_, bool askU // items1.sort(); e1->setField(field, items1.join(TQString::fromLatin1("; "))); ret = true; +#endif } else if(askUser_ && e1->field(field) != e2->field(field)) { int ret = Kernel::self()->askAndMerge(e1, e2, field); if(ret == 0) { |
