summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/regexpwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/regexpwidget.cpp')
-rw-r--r--kregexpeditor/regexpwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kregexpeditor/regexpwidget.cpp b/kregexpeditor/regexpwidget.cpp
index 1e2ec6f..53e8540 100644
--- a/kregexpeditor/regexpwidget.cpp
+++ b/kregexpeditor/regexpwidget.cpp
@@ -207,7 +207,7 @@ bool RegExpWidget::acceptWidgetInsert( RegExpType tp ) const
RegExpWidget* RegExpWidget::widgetUnderPoint( TQPoint globalPos, bool )
{
- if ( TQRect(mapToGlobal( TQPoint(0,0) ), size() ).tqcontains( globalPos ) )
+ if ( TQRect(mapToGlobal( TQPoint(0,0) ), size() ).contains( globalPos ) )
return this;
else
return 0;