diff options
Diffstat (limited to 'chalk/plugins/tools/tool_curves/kis_tool_bezier.cc')
-rw-r--r-- | chalk/plugins/tools/tool_curves/kis_tool_bezier.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier.cc b/chalk/plugins/tools/tool_curves/kis_tool_bezier.cc index e3baf49c..e18b096c 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_bezier.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier.cc @@ -289,7 +289,7 @@ KisCurve::iterator KisToolBezier::handleUnderMouse(const TQPoint& pos) continue; if (hint == BEZIERENDHINT && (m_actionOptions & SHIFTOPTION)) continue; - if (pivotRect(qpos).tqcontains(pos)) { + if (pivotRect(qpos).contains(pos)) { inHandle.pushPoint((*it)); if (hint == BEZIERENDHINT && !(m_actionOptions & SHIFTOPTION)) break; @@ -300,7 +300,7 @@ KisCurve::iterator KisToolBezier::handleUnderMouse(const TQPoint& pos) if (inHandle.isEmpty()) return m_curve->end(); - return m_curve->tqfind(inHandle.last()); + return m_curve->find(inHandle.last()); } KisCurve::iterator KisToolBezier::drawPoint (KisCanvasPainter& gc, KisCurve::iterator point) |