Commit 7d716fd9 authored by Stefan Brüns's avatar Stefan Brüns
Browse files

[BalooRolesProvider] Remove unused roleForProperty method

parent 09b6c993
...@@ -108,11 +108,6 @@ QHash<QByteArray, QVariant> KBalooRolesProvider::roleValues(const Baloo::File& f ...@@ -108,11 +108,6 @@ QHash<QByteArray, QVariant> KBalooRolesProvider::roleValues(const Baloo::File& f
return values; return values;
} }
QByteArray KBalooRolesProvider::roleForProperty(const QString& property) const
{
return m_roleForProperty.value(property);
}
KBalooRolesProvider::KBalooRolesProvider() : KBalooRolesProvider::KBalooRolesProvider() :
m_roles(), m_roles(),
m_roleForProperty() m_roleForProperty()
......
...@@ -42,8 +42,6 @@ public: ...@@ -42,8 +42,6 @@ public:
QHash<QByteArray, QVariant> roleValues(const Baloo::File& file, QHash<QByteArray, QVariant> roleValues(const Baloo::File& file,
const QSet<QByteArray>& roles) const; const QSet<QByteArray>& roles) const;
QByteArray roleForProperty(const QString& property) const;
protected: protected:
KBalooRolesProvider(); KBalooRolesProvider();
......
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