Revision 77dbed04
Von Sebastian Diel vor etwa 9 Jahren hinzugefügt
- ID 77dbed048ab6fafe5990ce17095ef1395d2ae6b7
- Vorgänger 69f995c5
src/entitymanager.cpp | ||
---|---|---|
QString relKey = i.key();
|
||
QVariant v = entity->getProperty(relKey.remove(relKey.size() - appendix.size(),
|
||
appendix.size()));
|
||
if (!v.isNull()) {
|
||
auto entity = EntityInstanceFactory::castQVariant(v);
|
||
if (entity->getProperty(entity->getPrimaryKey()) != i.value()) {
|
||
if (v.isValid() && !v.isNull()) {
|
||
auto e = EntityInstanceFactory::castQVariant(v);
|
||
if (e->getProperty(entity->getPrimaryKey()) != i.value()) {
|
||
changed = true;
|
||
break;
|
||
}
|
Auch abrufbar als: Unified diff
fix