summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpdocumentsaveoptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/kpdocumentsaveoptions.cpp')
-rw-r--r--kolourpaint/kpdocumentsaveoptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolourpaint/kpdocumentsaveoptions.cpp b/kolourpaint/kpdocumentsaveoptions.cpp
index 89eaf2d8..c217cffb 100644
--- a/kolourpaint/kpdocumentsaveoptions.cpp
+++ b/kolourpaint/kpdocumentsaveoptions.cpp
@@ -545,7 +545,7 @@ int kpDocumentSaveOptions::isLossyForSaving (const TQPixmap &pixmap) const
if (mimeTypeHasConfigurableColorDepth () &&
!colorDepthIsInvalid () /*TODO: prevent*/ &&
(colorDepth () < pixmap.depth () ||
- colorDepth () < 32 && pixmap.tqmask ()))
+ colorDepth () < 32 && pixmap.mask ()))
{
ret |= ColorDepthLow;
}