summaryrefslogtreecommitdiffstats
path: root/kview/kviewcanvas
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:47:14 +0900
committerMichele Calgaro <[email protected]>2023-08-17 20:16:22 +0900
commitfbcad37de1da878a3d6df5928cf0d41bbbe5a273 (patch)
tree34f89829397a87e7327ca8ed3d14ca69624731b4 /kview/kviewcanvas
parent8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13 (diff)
downloadtdegraphics-fbcad37de1da878a3d6df5928cf0d41bbbe5a273.tar.gz
tdegraphics-fbcad37de1da878a3d6df5928cf0d41bbbe5a273.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit e0b799d647cf144caa7a58615e02132d9fd54809)
Diffstat (limited to 'kview/kviewcanvas')
-rw-r--r--kview/kviewcanvas/kimagecanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kviewcanvas/kimagecanvas.cpp b/kview/kviewcanvas/kimagecanvas.cpp
index 8c203478..39e78305 100644
--- a/kview/kviewcanvas/kimagecanvas.cpp
+++ b/kview/kviewcanvas/kimagecanvas.cpp
@@ -326,7 +326,7 @@ TQString KImageCanvas::blendEffectDescription( unsigned int idx ) const
bool KImageCanvas::eventFilter( TQObject * obj, TQEvent * ev )
{
- if( ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_client) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_oldClient) ) && ev->type() == TQEvent::MouseMove )
+ if( ( obj == m_client || obj == m_oldClient ) && ev->type() == TQEvent::MouseMove )
mouseMoveEvent( TQT_TQMOUSEEVENT( ev ) );
return TQScrollView::eventFilter( obj, ev );
}