summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/QCanvasMatrixDiamond.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/matrix/QCanvasMatrixDiamond.cpp')
-rw-r--r--src/gui/editors/matrix/QCanvasMatrixDiamond.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/editors/matrix/QCanvasMatrixDiamond.cpp b/src/gui/editors/matrix/QCanvasMatrixDiamond.cpp
index d8d7b06..e44e7d5 100644
--- a/src/gui/editors/matrix/QCanvasMatrixDiamond.cpp
+++ b/src/gui/editors/matrix/QCanvasMatrixDiamond.cpp
@@ -68,7 +68,7 @@ void QCanvasMatrixDiamond::drawShape(TQPainter & p)
TQPointArray pa(4);
int q = height() / 2 + 2;
- TQPoint mapPos = p.tqworldMatrix().map(TQPoint(int(x()), int(y())));
+ TQPoint mapPos = p.worldMatrix().map(TQPoint(int(x()), int(y())));
pa[0] = TQPoint(mapPos.x(), mapPos.y() - 3);
pa[1] = TQPoint(mapPos.x() + q, mapPos.y() - 3 + q);