D8638: Remove DataModel::roleNameToId

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Nov 3 10:49:42 UTC 2017


broulik created this revision.
broulik added a reviewer: Plasma.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  It is unused and returned `-1` whereas `SortFilterModel` would return `Qt::DisplayRole`

TEST PLAN
  This class is not exported but only part of the corebindingsplugin so this method can be removed

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D8638

AFFECTED FILES
  src/declarativeimports/core/datamodel.cpp
  src/declarativeimports/core/datamodel.h

To: broulik, #plasma
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171103/d03c73e7/attachment-0001.html>


More information about the Plasma-devel mailing list