diff options
Diffstat (limited to 'kate/app/katefileselector.cpp')
-rw-r--r-- | kate/app/katefileselector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/app/katefileselector.cpp b/kate/app/katefileselector.cpp index 06cd0c3c3..c4b107912 100644 --- a/kate/app/katefileselector.cpp +++ b/kate/app/katefileselector.cpp @@ -488,7 +488,7 @@ bool KateFileSelector::eventFilter( TQObject* o, TQEvent *e ) TQListBox *lb = cmbPath->listBox(); if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(lb) && e->type() == TQEvent::Show ) { int add = lb->height() < lb->contentsHeight() ? lb->verticalScrollBar()->width() : 0; - int w = QMIN( mainwin->width(), lb->contentsWidth() + add ); + int w = TQMIN( mainwin->width(), lb->contentsWidth() + add ); lb->resize( w, lb->height() ); // TODO - move the listbox to a suitable place if nessecary // TODO - decide if it is worth caching the size while untill the contents |