D5247: [ModelContextMenu] Silence warnings
Kai Uwe Broulik
noreply at phabricator.kde.org
Wed Mar 29 16:41:33 UTC 2017
broulik created this revision.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.
REVISION SUMMARY
When using a regular JavaScript Array as model and omitting certain roles (e.g. not having a "text" for a separator) it would throw a warning.
TEST PLAN
Color picker no longer throws warnings in its menu (I use sections and separators here).
Widget explorer filter and download widgets buttons still work
REPOSITORY
R242 Plasma Framework (Library)
REVISION DETAIL
https://phabricator.kde.org/D5247
AFFECTED FILES
src/declarativeimports/plasmacomponents/qml/ModelContextMenu.qml
To: broulik, #plasma
Cc: plasma-devel, #frameworks, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170329/ec47ee69/attachment.html>
More information about the Plasma-devel
mailing list