summaryrefslogtreecommitdiffstats
path: root/karbon/dockers
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/dockers')
-rw-r--r--karbon/dockers/vdocumentdocker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/karbon/dockers/vdocumentdocker.cpp b/karbon/dockers/vdocumentdocker.cpp
index dc676a85..cf02d2cd 100644
--- a/karbon/dockers/vdocumentdocker.cpp
+++ b/karbon/dockers/vdocumentdocker.cpp
@@ -102,7 +102,7 @@ VDocumentPreview::eventFilter( TQObject* object, TQEvent* event )
}
KoRect rect = m_view->canvasWidget()->boundingBox();
- TQMouseEvent* mouseEvent = TQT_TQMOUSEEVENT( event );
+ TQMouseEvent* mouseEvent = static_cast<TQMouseEvent*>( event );
if( event->type() == TQEvent::MouseButtonPress )
{
m_firstPoint.setX( mouseEvent->pos().x() );