Verified Commit 8cade8ed authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Remove constness from some Relation setters

parent 16f0ba83
......@@ -91,7 +91,7 @@ Item Relation::right() const
return d->right;
}
void Relation::setType(const QByteArray &type) const
void Relation::setType(const QByteArray &type)
{
d->type = type;
}
......@@ -101,7 +101,7 @@ QByteArray Relation::type() const
return d->type;
}
void Relation::setRemoteId(const QByteArray &remoteId) const
void Relation::setRemoteId(const QByteArray &remoteId)
{
d->remoteId = remoteId;
}
......
......@@ -102,7 +102,7 @@ public:
/**
* Sets the type of the relation.
*/
void setType(const QByteArray &type) const;
void setType(const QByteArray &type);
/**
* Returns the type of the relation.
......@@ -112,7 +112,7 @@ public:
/**
* Sets the remote id of the relation.
*/
void setRemoteId(const QByteArray &type) const;
void setRemoteId(const QByteArray &type);
/**
* Returns the remote id of the relation.
......
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