summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/kexiactions/objectvariable.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/kexiactions/objectvariable.h')
-rw-r--r--kexi/plugins/macros/kexiactions/objectvariable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/macros/kexiactions/objectvariable.h b/kexi/plugins/macros/kexiactions/objectvariable.h
index 83a7a471..c27f024b 100644
--- a/kexi/plugins/macros/kexiactions/objectvariable.h
+++ b/kexi/plugins/macros/kexiactions/objectvariable.h
@@ -72,8 +72,8 @@ namespace KexiMacro {
if(! objectname.isNull())
this->setVariant( objectname );
- else if(this->tqchildren().count() > 0)
- this->setVariant( this->tqchildren()[0]->variant() );
+ else if(this->children().count() > 0)
+ this->setVariant( this->children()[0]->variant() );
else
this->setVariant( TQString() );