diff options
Diffstat (limited to 'kexi/widget/tableview/kexitableviewdata.cpp')
-rw-r--r-- | kexi/widget/tableview/kexitableviewdata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/tableview/kexitableviewdata.cpp b/kexi/widget/tableview/kexitableviewdata.cpp index 1fb65c6a..5905706b 100644 --- a/kexi/widget/tableview/kexitableviewdata.cpp +++ b/kexi/widget/tableview/kexitableviewdata.cpp @@ -122,7 +122,7 @@ KexiTableViewColumn::KexiTableViewColumn( } init(); //setup column's readonly flag: true, if - // - it's not from tqparent table's field, or + // - it's not from parent table's field, or // - if the query itself is coming from read-only connection, or // - if the query itself is stored (i.e. has connection) and lookup column is defined const bool columnFromMasterTable = query.masterTable()==columnInfo->field->table(); @@ -168,7 +168,7 @@ void KexiTableViewColumn::init() void KexiTableViewColumn::setValidator( KexiUtils::Validator* v ) { if (m_validator) {//remove old one - if (!m_validator->tqparent()) //destroy if has no tqparent + if (!m_validator->parent()) //destroy if has no parent delete m_validator; } m_validator = v; |