summaryrefslogtreecommitdiffstats
path: root/kolourpaint/tools/kptoolclear.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/tools/kptoolclear.cpp')
-rw-r--r--kolourpaint/tools/kptoolclear.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolourpaint/tools/kptoolclear.cpp b/kolourpaint/tools/kptoolclear.cpp
index b6fa2eab..7b1a775b 100644
--- a/kolourpaint/tools/kptoolclear.cpp
+++ b/kolourpaint/tools/kptoolclear.cpp
@@ -108,7 +108,7 @@ void kpToolClearCommand::execute ()
kpPixmapFX::fill (&newPixmap, m_newColor);
// TODO: maybe disable Image/Clear if transparent colour
if (m_newColor.isOpaque ())
- newPixmap.setMask (sel->tqmaskForOwnType ());
+ newPixmap.setMask (sel->maskForOwnType ());
sel->setPixmap (newPixmap);
}