Revision 3da0a096
Von Christian Ehringfeld vor etwa 6 Jahren hinzugefügt
src/querybuilder.cpp | ||
---|---|---|
while (i.hasNext()) {
|
||
i.next();
|
||
if (usedProperties.contains(i.key()) && i.key() != e->getPrimaryKey()) {
|
||
properties.remove(i.key());
|
||
i.remove();
|
||
} else {
|
||
usedProperties.insert(i.key(), i.value());
|
||
}
|
||
... | ... | |
classes.append(EntityHelper::superClasses(entity.data(), true));
|
||
auto usedProperties = QHash<QString, QMetaProperty>();
|
||
auto usedRelations = QHash<QString, Relation>();
|
||
auto super = EntityHelper::superClasses(entity.data(), true);
|
||
QSharedPointer<Entity> e;
|
||
for (int var = classes.size() - 1; var >= 0; --var) {
|
||
auto metaObj = classes.at(var);
|
Auch abrufbar als: Unified diff
improvement by sedi :)