summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kvirc/ui/kvi_topicw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvirc/ui/kvi_topicw.cpp b/src/kvirc/ui/kvi_topicw.cpp
index ec48aa39..84a9ca58 100644
--- a/src/kvirc/ui/kvi_topicw.cpp
+++ b/src/kvirc/ui/kvi_topicw.cpp
@@ -643,13 +643,13 @@ bool KviTopicWidget::eventFilter(TQObject *object,TQEvent *e)
{
switch( e->type() ) {
case TQEvent::MouseButtonPress:
- if ( TQT_TQRECT_OBJECT(m_pCompletionBox->rect()).contains( ((TQMouseEvent*)e)->pos() ) ) {
+ if ( m_pCompletionBox->rect().contains( ((TQMouseEvent*)e)->pos() ) ) {
complete(m_pCompletionBox->index(m_pCompletionBox->itemAt(((TQMouseEvent*)e)->pos())));
return TRUE;
}
break;
case TQEvent::MouseButtonRelease:
- if ( TQT_TQRECT_OBJECT(m_pCompletionBox->rect()).contains( ((TQMouseEvent*)e)->pos() ) ) {
+ if ( m_pCompletionBox->rect().contains( ((TQMouseEvent*)e)->pos() ) ) {
TQMouseEvent tmp( TQEvent::MouseButtonDblClick,
((TQMouseEvent*)e)->pos(), ((TQMouseEvent*)e)->button(), ((TQMouseEvent*)e)->state() ) ;
// will hide popup