summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/kexiactions/openaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/kexiactions/openaction.cpp')
-rw-r--r--kexi/plugins/macros/kexiactions/openaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/plugins/macros/kexiactions/openaction.cpp b/kexi/plugins/macros/kexiactions/openaction.cpp
index 2e43116f..9cd2e664 100644
--- a/kexi/plugins/macros/kexiactions/openaction.cpp
+++ b/kexi/plugins/macros/kexiactions/openaction.cpp
@@ -66,7 +66,7 @@ namespace KexiMacro {
this->tqchildren().append( KSharedPtr<KoMacro::Variable>(new KoMacro::Variable(*it)) );
}
const TQString n =
- namelist.tqcontains(viewname)
+ namelist.contains(viewname)
? viewname
: namelist.count() > 0 ? namelist[0] : "";