Commit 37869c7e authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

constify

parent 42342869
......@@ -116,7 +116,7 @@ int KPWriteImage::bytesDepth() const
return 3;
}
void KPWriteImage::setCancel(bool* cancel)
void KPWriteImage::setCancel(bool* const cancel)
{
d->cancel = cancel;
}
......
......@@ -68,7 +68,7 @@ public:
const QByteArray& iccProfile,
const KPMetadata& metadata);
void setCancel(bool* cancel);
void setCancel(bool* const cancel);
bool cancel() const;
bool write2JPEG(const QString& destPath);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment