summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabel/commentview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabel/commentview.cpp')
-rw-r--r--kbabel/kbabel/commentview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbabel/kbabel/commentview.cpp b/kbabel/kbabel/commentview.cpp
index 7126f422..324c4d32 100644
--- a/kbabel/kbabel/commentview.cpp
+++ b/kbabel/kbabel/commentview.cpp
@@ -210,7 +210,7 @@ const TQString CommentView::selectedText ()
void CommentView::installEventFilter( const TQObject * filterObj )
{
- commentEdit->installEventFilter( filterObj );
+ commentEdit->installEventFilter( const_cast<TQObject*>(filterObj) );
}
bool CommentView::hasFocus()