summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexidbfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexidbfactory.cpp')
-rw-r--r--kexi/plugins/forms/kexidbfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/plugins/forms/kexidbfactory.cpp b/kexi/plugins/forms/kexidbfactory.cpp
index 5f379e6e..8683c2bb 100644
--- a/kexi/plugins/forms/kexidbfactory.cpp
+++ b/kexi/plugins/forms/kexidbfactory.cpp
@@ -646,7 +646,7 @@ KexiDBFactory::isPropertyVisibleInternal(const TQCString& classname, TQWidget *w
}
else if(classname == "KexiDBCheckBox") {
//hide text property if the widget is a child of an autofield beause there's already "caption" for this purpose
- if (property=="text" && w && dynamic_cast<KFormDesigner::WidgetWithSubpropertiesInterface*>(w->tqparentWidget()))
+ if (property=="text" && w && dynamic_cast<KFormDesigner::WidgetWithSubpropertiesInterface*>(w->parentWidget()))
return false;
ok = property!="autoRepeat";
}