diff options
Diffstat (limited to 'chalk/core/kis_perspective_grid.cpp')
-rw-r--r-- | chalk/core/kis_perspective_grid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/core/kis_perspective_grid.cpp b/chalk/core/kis_perspective_grid.cpp index 6eb5fbe8..597f1d40 100644 --- a/chalk/core/kis_perspective_grid.cpp +++ b/chalk/core/kis_perspective_grid.cpp @@ -27,7 +27,7 @@ KisSubPerspectiveGrid::KisSubPerspectiveGrid(KisPerspectiveGridNodeSP topLeft, K } -bool KisSubPerspectiveGrid::tqcontains(const KisPoint p) const +bool KisSubPerspectiveGrid::contains(const KisPoint p) const { return true; KisPerspectiveMath::LineEquation d1 = KisPerspectiveMath::computeLineEquation( topLeft(), topRight() ); @@ -90,7 +90,7 @@ KisSubPerspectiveGrid* KisPerspectiveGrid::gridAt(KisPoint p) { for( TQValueList<KisSubPerspectiveGrid*>::const_iterator it = begin(); it != end(); ++it) { - if( (*it)->tqcontains(p) ) + if( (*it)->contains(p) ) { return *it; } |