summaryrefslogtreecommitdiffstats
path: root/twin/kcmtwin/twinrules/detectwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/kcmtwin/twinrules/detectwidget.cpp')
-rw-r--r--twin/kcmtwin/twinrules/detectwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twin/kcmtwin/twinrules/detectwidget.cpp b/twin/kcmtwin/twinrules/detectwidget.cpp
index 546db66db..b01066403 100644
--- a/twin/kcmtwin/twinrules/detectwidget.cpp
+++ b/twin/kcmtwin/twinrules/detectwidget.cpp
@@ -176,7 +176,7 @@ bool DetectDialog::eventFilter( TQObject* o, TQEvent* e )
return false;
delete grabber;
grabber = NULL;
- if( TQT_TQMOUSEEVENT( e )->button() != TQt::LeftButton )
+ if( static_cast<TQMouseEvent*>( e )->button() != TQt::LeftButton )
{
emit detectionDone( false );
return true;