summaryrefslogtreecommitdiffstats
path: root/kate/app
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:46:35 +0900
committerMichele Calgaro <[email protected]>2023-08-18 19:13:36 +0900
commit5cfda35559d971762794b1c8e294d037c09c63f3 (patch)
tree567400ec90a083f3fcb02cde2ed0d779d861da79 /kate/app
parent7c193f33d78ab79d2811a60c5190abdc1fa95c03 (diff)
downloadtdebase-5cfda35559d971762794b1c8e294d037c09c63f3.tar.gz
tdebase-5cfda35559d971762794b1c8e294d037c09c63f3.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0fc56f21d45249a473d20555ff3071d3b16bee54)
Diffstat (limited to 'kate/app')
-rw-r--r--kate/app/katefileselector.cpp2
1 files changed, 1 insertions, 1 deletions
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() );