Commit a312da81 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Fix compilation of pigment on Solaris (hopefully)

BUG:50658

Building calligra 2.3.85 fails with the error libs/pigment/KoCompositeOp.h", line 82: Error: The name categoryMisc is unusable in a default parameter.
parent 1d7ced57
......@@ -59,13 +59,13 @@ KoCompositeOp::~KoCompositeOp()
delete d;
}
KoCompositeOp::KoCompositeOp(const KoColorSpace * cs, const QString& id, const QString& description, const QString & category)
KoCompositeOp::KoCompositeOp(const KoColorSpace * cs, const QString& id, const QString& description, const QString & _categoryMisc)
: d(new Private)
{
d->colorSpace = cs;
d->id = id;
d->description = description;
d->category = category;
d->category = _categoryMisc;
if (d->category.isEmpty()) {
d->category = categoryMisc();
}
......
......@@ -79,7 +79,7 @@ public:
* @param userVisible define whether or not that composite op should be visible in an user
* interface
*/
KoCompositeOp(const KoColorSpace * cs, const QString& id, const QString& description, const QString & categoryMisc = categoryMisc());
KoCompositeOp(const KoColorSpace * cs, const QString& id, const QString& description, const QString & _categoryMisc = QString::null);
virtual ~KoCompositeOp();
/**
......
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