Commit c77a5b97 authored by Boudewijn Rempt's avatar Boudewijn Rempt

fix compilation on CLANG

parent 47ac643e
......@@ -59,13 +59,13 @@ KoCompositeOp::~KoCompositeOp()
delete d;
}
KoCompositeOp::KoCompositeOp(const KoColorSpace * cs, const QString& id, const QString& description, const QString & _categoryMisc)
KoCompositeOp::KoCompositeOp(const KoColorSpace * cs, const QString& id, const QString& description, const QString & category)
: d(new Private)
{
d->colorSpace = cs;
d->id = id;
d->description = description;
d->category = _categoryMisc;
d->category = category;
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 = QString::null);
KoCompositeOp(const KoColorSpace * cs, const QString& id, const QString& description, const QString & category = categoryMisc());
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