summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/utils.cpp')
-rw-r--r--kexi/formeditor/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/formeditor/utils.cpp b/kexi/formeditor/utils.cpp
index f80c2c27a..6ce4bcaef 100644
--- a/kexi/formeditor/utils.cpp
+++ b/kexi/formeditor/utils.cpp
@@ -88,7 +88,7 @@ void
KFormDesigner::setRecursiveCursor(TQWidget *w, Form *form)
{
ObjectTreeItem *tree = form->objectTree()->lookup(w->name());
- if(tree && ((tree->modifiedProperties()->tqcontains("cursor")) || !tree->tqchildren()->isEmpty())
+ if(tree && ((tree->modifiedProperties()->contains("cursor")) || !tree->tqchildren()->isEmpty())
&& !w->inherits(TQLINEEDIT_OBJECT_NAME_STRING) && !w->inherits(TQTEXTEDIT_OBJECT_NAME_STRING)
) //fix weird behaviour
return; // if the user has set a cursor for this widget or this is a container, don't change it