summaryrefslogtreecommitdiffstats
path: root/karbon/widgets/vstrokefillpreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/widgets/vstrokefillpreview.cpp')
-rw-r--r--karbon/widgets/vstrokefillpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/karbon/widgets/vstrokefillpreview.cpp b/karbon/widgets/vstrokefillpreview.cpp
index 5e05eecd..c7b165f4 100644
--- a/karbon/widgets/vstrokefillpreview.cpp
+++ b/karbon/widgets/vstrokefillpreview.cpp
@@ -84,7 +84,7 @@ VStrokeFillPreview::paintEvent( TQPaintEvent* event )
bool
VStrokeFillPreview::eventFilter( TQObject *, TQEvent *event )
{
- TQMouseEvent* e = TQT_TQMOUSEEVENT( event );
+ TQMouseEvent* e = static_cast<TQMouseEvent*>( event );
int ex = e->x() - int( ( width() - PANEL_SIZEX ) / 2 );
int ey = e->y() - int( ( height() - PANEL_SIZEY ) / 2 );