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 7b1a775b..b6fa2eab 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->maskForOwnType ());
+ newPixmap.setMask (sel->tqmaskForOwnType ());
sel->setPixmap (newPixmap);
}