summaryrefslogtreecommitdiffstats
path: root/kio/kfile/kcombiview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kfile/kcombiview.cpp')
-rw-r--r--kio/kfile/kcombiview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kio/kfile/kcombiview.cpp b/kio/kfile/kcombiview.cpp
index 6baf6d36f..41b4176fa 100644
--- a/kio/kfile/kcombiview.cpp
+++ b/kio/kfile/kcombiview.cpp
@@ -300,7 +300,7 @@ void KCombiView::slotSortingChanged( TQDir::SortSpec sorting )
KFileView *KCombiView::focusView( KFileView *preferred ) const
{
- TQWidget *w = focusWidget();
+ TQWidget *w = tqfocusWidget();
KFileView *other = (right == preferred) ? left : right;
return (preferred && w == preferred->widget()) ? preferred : other;
}
@@ -358,9 +358,9 @@ bool KCombiView::eventFilter( TQObject *o, TQEvent *e )
// only the focused view may have a selection
if ( type == TQEvent::FocusIn )
{
- if ( o == left )
+ if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(left) )
right->clearSelection();
- else if ( o == right->widget() )
+ else if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(right->widget()) )
left->clearSelection();
}