From 5cfda35559d971762794b1c8e294d037c09c63f3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:46:35 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro (cherry picked from commit 0fc56f21d45249a473d20555ff3071d3b16bee54) --- kate/app/katefileselector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kate/app/katefileselector.cpp') diff --git a/kate/app/katefileselector.cpp b/kate/app/katefileselector.cpp index 4bba68ded..b275ac7d7 100644 --- a/kate/app/katefileselector.cpp +++ b/kate/app/katefileselector.cpp @@ -485,7 +485,7 @@ bool KateFileSelector::eventFilter( TQObject* o, TQEvent *e ) And the popup is rather useless, if the paths are only partly visible. */ TQListBox *lb = cmbPath->listBox(); - if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(lb) && e->type() == TQEvent::Show ) { + if ( o == lb && e->type() == TQEvent::Show ) { int add = lb->height() < lb->contentsHeight() ? lb->verticalScrollBar()->width() : 0; int w = TQMIN( mainwin->width(), lb->contentsWidth() + add ); lb->resize( w, lb->height() ); -- cgit v1.2.1