summaryrefslogtreecommitdiffstats
path: root/tdeui/ktip.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:47:26 +0900
committerMichele Calgaro <[email protected]>2023-08-18 16:38:42 +0900
commit48b07a0ff120e8b4479bcac912d8a8f043e22ae4 (patch)
treea3d42bf916706ea512c6887baea5589448afd760 /tdeui/ktip.cpp
parent23278d259378e17087bf9aeaa5e45974dfb74bce (diff)
downloadtdelibs-48b07a0ff120e8b4479bcac912d8a8f043e22ae4.tar.gz
tdelibs-48b07a0ff120e8b4479bcac912d8a8f043e22ae4.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/ktip.cpp')
-rw-r--r--tdeui/ktip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/ktip.cpp b/tdeui/ktip.cpp
index 1cc520640..79993d5fc 100644
--- a/tdeui/ktip.cpp
+++ b/tdeui/ktip.cpp
@@ -425,7 +425,7 @@ static TQString fixTip(TQString tip)
bool KTipDialog::eventFilter(TQObject *o, TQEvent *e)
{
- if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(mTipText) && e->type()== TQEvent::KeyPress &&
+ if (o == mTipText && e->type()== TQEvent::KeyPress &&
(((TQKeyEvent *)e)->key() == Key_Return ||
((TQKeyEvent *)e)->key() == Key_Space ))
accept();