diff options
Diffstat (limited to 'kexi/core/kexisharedactionhost.cpp')
-rw-r--r-- | kexi/core/kexisharedactionhost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/core/kexisharedactionhost.cpp b/kexi/core/kexisharedactionhost.cpp index 20eae6c4..5370ba57 100644 --- a/kexi/core/kexisharedactionhost.cpp +++ b/kexi/core/kexisharedactionhost.cpp @@ -202,12 +202,12 @@ TQWidget* KexiSharedActionHost::focusWindow() fw = dynamic_cast<KMdiMainFrm*>(d->mainWin)->activeWindow(); } else { - TQWidget *aw = TQT_TQWIDGET(tqApp->activeWindow()); + TQWidget *aw = tqApp->activeWindow(); if (!aw) aw = d->mainWin; fw = aw->focusWidget(); } - while (fw && !acceptsSharedActions(TQT_TQOBJECT(fw))) + while (fw && !acceptsSharedActions(fw)) fw = fw->parentWidget(); return fw; } |