diff options
author | Michele Calgaro <[email protected]> | 2023-07-11 20:12:41 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-12 17:35:57 +0900 |
commit | 397fe4548de3354fd1e3806d66281619c71cc6aa (patch) | |
tree | 1ae26651ba29aface801a971fb1546af960d8899 | |
parent | c356ea7e9e86a3178c353bdbf651f002e4c2970a (diff) | |
download | ktechlab-397fe4548de3354fd1e3806d66281619c71cc6aa.tar.gz ktechlab-397fe4548de3354fd1e3806d66281619c71cc6aa.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 6c221fd5e739d0791facaae4fd1c7c0882b0bff1)
-rw-r--r-- | src/katemdi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/katemdi.cpp b/src/katemdi.cpp index 6fa7781..d380621 100644 --- a/src/katemdi.cpp +++ b/src/katemdi.cpp @@ -181,8 +181,8 @@ bool ToolView::visible () const void ToolView::childEvent ( TQChildEvent *ev ) { // set the widget to be focus proxy if possible - if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->tqt_cast(TQWIDGET_OBJECT_NAME_STRING)) - setFocusProxy ((TQWidget *)(TQT_TQOBJECT(ev->child())->tqt_cast(TQWIDGET_OBJECT_NAME_STRING))); + if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->tqt_cast("TQWidget")) + setFocusProxy ((TQWidget *)(TQT_TQOBJECT(ev->child())->tqt_cast("TQWidget"))); TQVBox::childEvent (ev); } |