From 835702ea8d041b2521be63dfe0faf75ece29c7f7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 7 Dec 2023 12:59:42 +0900 Subject: Replaced various '#define' with actual strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 1efbeb497b0498457a48efe0a4c0ea28a809effb) --- src/difftextwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/difftextwindow.cpp') diff --git a/src/difftextwindow.cpp b/src/difftextwindow.cpp index 1234545..52a04c2 100644 --- a/src/difftextwindow.cpp +++ b/src/difftextwindow.cpp @@ -1695,8 +1695,8 @@ bool DiffTextWindowFrame::eventFilter( TQObject* o, TQEvent* e ) if ( lst.count() > 0 ) { - static_cast(TQT_TQWIDGET(o))->setText( lst[0] ); - static_cast(TQT_TQWIDGET(o))->setFocus(); + static_cast(o)->setText( lst[0] ); + static_cast(o)->setFocus(); emit fileNameChanged( lst[0], pDTW->d->m_winIdx ); return true; } -- cgit v1.2.1