summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--klaptopdaemon/daemondock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/klaptopdaemon/daemondock.cpp b/klaptopdaemon/daemondock.cpp
index 87c4f45..90a29aa 100644
--- a/klaptopdaemon/daemondock.cpp
+++ b/klaptopdaemon/daemondock.cpp
@@ -469,7 +469,7 @@ void laptop_dock::mousePressEvent( TQMouseEvent *event )
}
void laptop_dock::mouseReleaseEvent( TQMouseEvent *e )
{
- if ( !TQT_TQRECT_OBJECT(rect()).contains( e->pos() ) )
+ if ( !rect().contains( e->pos() ) )
return;
switch ( e->button() ) {