diff options
Diffstat (limited to 'amarok/src/playlistwindow.cpp')
-rw-r--r-- | amarok/src/playlistwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amarok/src/playlistwindow.cpp b/amarok/src/playlistwindow.cpp index c7f6c794..eecabde5 100644 --- a/amarok/src/playlistwindow.cpp +++ b/amarok/src/playlistwindow.cpp @@ -682,7 +682,7 @@ bool PlaylistWindow::eventFilter( TQObject *o, TQEvent *e ) } } - if( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_lineEdit) ) //the search lineedit + if( o == m_lineEdit ) //the search lineedit { TQListViewItem *item; switch( e->key() ) @@ -753,7 +753,7 @@ bool PlaylistWindow::eventFilter( TQObject *o, TQEvent *e ) //following are for Playlist::instance() only //we don't handle these in the playlist because often we manipulate the lineEdit too - if( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(pl) ) + if( o == pl ) { if( pl->currentItem() && ( e->key() == Key_Up && pl->currentItem()->itemAbove() == 0 && !(e->state() & TQt::ShiftButton) ) ) { |