summaryrefslogtreecommitdiffstats
path: root/kate/part/katecodecompletion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/part/katecodecompletion.cpp')
-rw-r--r--kate/part/katecodecompletion.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/part/katecodecompletion.cpp b/kate/part/katecodecompletion.cpp
index 275894483..e8e53f661 100644
--- a/kate/part/katecodecompletion.cpp
+++ b/kate/part/katecodecompletion.cpp
@@ -163,9 +163,9 @@ void KateCodeCompletion::showCompletionBox(
bool KateCodeCompletion::eventFilter( TQObject *o, TQEvent *e )
{
- if ( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(m_completionPopup) &&
- TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(m_completionListBox) &&
- TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(m_completionListBox->viewport()) )
+ if ( o != m_completionPopup &&
+ o != m_completionListBox &&
+ o != m_completionListBox->viewport() )
return false;
if( e->type() == TQEvent::Hide )