summaryrefslogtreecommitdiffstats
path: root/kolourpaint/tools/kptoolrectangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/tools/kptoolrectangle.cpp')
-rw-r--r--kolourpaint/tools/kptoolrectangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolourpaint/tools/kptoolrectangle.cpp b/kolourpaint/tools/kptoolrectangle.cpp
index 491e0fae..df560ea2 100644
--- a/kolourpaint/tools/kptoolrectangle.cpp
+++ b/kolourpaint/tools/kptoolrectangle.cpp
@@ -76,7 +76,7 @@ static TQPixmap pixmap (const kpToolRectangle::Mode mode,
<< endl;
#endif
- if (pixmap.tqmask () ||
+ if (pixmap.mask () ||
(maskPen.style () != TQt::NoPen &&
maskPen.color () == TQt::color0/*transparent*/) ||
(maskBrush.style () != TQt::NoBrush &&