diff options
Diffstat (limited to 'chalk/ui/kcurve.cpp')
-rw-r--r-- | chalk/ui/kcurve.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/kcurve.cpp b/chalk/ui/kcurve.cpp index 086bcb55..a69b7846 100644 --- a/chalk/ui/kcurve.cpp +++ b/chalk/ui/kcurve.cpp @@ -211,7 +211,7 @@ void KCurve::mousePressEvent ( TQMouseEvent * e ) TQPair<double,double> *closest_point=NULL; double distance; - if (e->button() != Qt::LeftButton) + if (e->button() != TQt::LeftButton) return; double x = e->pos().x() / (float)width(); @@ -288,7 +288,7 @@ void KCurve::mouseReleaseEvent ( TQMouseEvent * e ) { if (m_readOnlyMode) return; - if (e->button() != Qt::LeftButton) + if (e->button() != TQt::LeftButton) return; setCursor( KCursor::arrowCursor() ); |