summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc')
-rw-r--r--chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc b/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc
index 139ed51d..7ad4a4da 100644
--- a/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc
+++ b/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc
@@ -312,7 +312,7 @@ void KisDuplicateOp::paintAt(const KisPoint &pos, const KisPaintInformation& inf
OPACITY_OPAQUE, 0, 0, sw, sh);
copyPainter.end();
- TQRect dabRect = TQRect(0, 0, brush->tqmaskWidth(info), brush->tqmaskHeight(info));
+ TQRect dabRect = TQRect(0, 0, brush->maskWidth(info), brush->maskHeight(info));
TQRect dstRect = TQRect(x, y, dabRect.width(), dabRect.height());
KisImage * image = device->image();