Add flags to Entry::clone() for customized cloning.

This commit is contained in:
Felix Geyer 2013-11-22 13:27:49 +01:00
parent cb804eb143
commit f2dfef8c41
8 changed files with 97 additions and 14 deletions

View file

@ -298,7 +298,7 @@ bool GroupModel::dropMimeData(const QMimeData* data, Qt::DropAction action,
entry = dragEntry;
}
else {
entry = dragEntry->clone();
entry = dragEntry->clone(Entry::CloneNewUuid | Entry::CloneResetTimeInfo);
}
Database* sourceDb = dragEntry->group()->database();