summaryrefslogtreecommitdiffstats
path: root/kate
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:46:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 18:54:01 +0900
commit0fc56f21d45249a473d20555ff3071d3b16bee54 (patch)
treec788136146e1f97187ecaf773563c21cbd42fa11 /kate
parent83e74d1e550db6a814ec252968b601f6a9b14f9b (diff)
downloadtdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.tar.gz
tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate')
-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() );