summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/relationship.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/relationship.cpp')
-rw-r--r--kexi/kexidb/relationship.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/kexidb/relationship.cpp b/kexi/kexidb/relationship.cpp
index a7796207..bcb6ec89 100644
--- a/kexi/kexidb/relationship.cpp
+++ b/kexi/kexidb/relationship.cpp
@@ -80,7 +80,7 @@ void Relationship::createIndices( QuerySchema *query, Field *field1, Field *fiel
return;
}
// if (!query->hasField(field1) && !query->hasField(field2)) {
- if (!query->contains(field1->table()) || !query->contains(field2->table())) {
+ if (!query->tqcontains(field1->table()) || !query->tqcontains(field2->table())) {
KexiDBWarn << "Relationship::addRelationship(): fields do not belong to this query" << endl;
return;
}