pointer to referenceRegExp

This commit is contained in:
thez3ro 2017-03-07 20:16:51 +01:00
parent 40851409fb
commit 78acdf9095
No known key found for this signature in database
GPG key ID: F628F9E41DD7C073
3 changed files with 12 additions and 12 deletions

View file

@ -84,9 +84,9 @@ bool EntryAttributes::isReference(const QString& key) const
return false;
}
QRegExp EntryAttributes::referenceRegExp() const
QRegExp* EntryAttributes::referenceRegExp()
{
return m_referenceRegExp;
return &m_referenceRegExp;
}
void EntryAttributes::set(const QString& key, const QString& value, bool protect)