summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexisharedactionhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexisharedactionhost.cpp')
-rw-r--r--kexi/core/kexisharedactionhost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/core/kexisharedactionhost.cpp b/kexi/core/kexisharedactionhost.cpp
index 550cfe7cc..20eae6c41 100644
--- a/kexi/core/kexisharedactionhost.cpp
+++ b/kexi/core/kexisharedactionhost.cpp
@@ -112,7 +112,7 @@ void KexiSharedActionHost::updateActionAvailable(const char *action_name, bool a
if (!d)
return; //sanity
TQWidget *fw = d->mainWin->focusWidget();
- while (fw && TQT_BASE_OBJECT(obj)!=TQT_BASE_OBJECT(fw))
+ while (fw && obj!=fw)
fw = fw->parentWidget();
if (!fw)
return;