diff options
Diffstat (limited to 'kexi/core')
-rw-r--r-- | kexi/core/kexisharedactionhost.cpp | 2 |
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; |