[BalooRolesProvider] Remove unused roleForProperty method

This commit is contained in:
Stefan Brüns 2020-12-28 00:55:28 +01:00
parent 09b6c99325
commit 7d716fd9bd
2 changed files with 0 additions and 7 deletions

View file

@ -108,11 +108,6 @@ QHash<QByteArray, QVariant> KBalooRolesProvider::roleValues(const Baloo::File& f
return values;
}
QByteArray KBalooRolesProvider::roleForProperty(const QString& property) const
{
return m_roleForProperty.value(property);
}
KBalooRolesProvider::KBalooRolesProvider() :
m_roles(),
m_roleForProperty()

View file

@ -42,8 +42,6 @@ public:
QHash<QByteArray, QVariant> roleValues(const Baloo::File& file,
const QSet<QByteArray>& roles) const;
QByteArray roleForProperty(const QString& property) const;
protected:
KBalooRolesProvider();