summaryrefslogtreecommitdiffstats
path: root/kbattleship/kbattleship/kchatwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbattleship/kbattleship/kchatwidget.cpp')
-rw-r--r--kbattleship/kbattleship/kchatwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbattleship/kbattleship/kchatwidget.cpp b/kbattleship/kbattleship/kchatwidget.cpp
index f6b804ee..649fd777 100644
--- a/kbattleship/kbattleship/kchatwidget.cpp
+++ b/kbattleship/kbattleship/kchatwidget.cpp
@@ -61,7 +61,7 @@ void KChatWidget::slotReceivedMessage(const TQString &nickname, const TQString &
bool KChatWidget::eventFilter(TQObject *obj, TQEvent *e)
{
- if(TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(commentEdit) && e->type() == TQEvent::Wheel)
+ if(obj == commentEdit && e->type() == TQEvent::Wheel)
{
kapp->notify(TQT_TQOBJECT(chatView), e);
return true;