Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor improvements for PropertySelector #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tobydox
Copy link

@tobydox tobydox commented Oct 4, 2019

  • PropertySelector: allow usage with any QML objects
  • PropertySelector: use stream operator for message

I do not claim any copyrights on these minor changes so feel free to incorporate them on your own without any further attributions. Filling and signing the KDAB Copyright Assignment Form seems to be overkill in this case.

There's no reason to restrict the usage of PropertySelector to
QQuickItem objects. Instead it can be made usable with any kind of QML
objects easily.
GCC complains about the format string not being a string literal and
not containing format arguments (-Wformat-security). This can be fixed
easily by using the stream operator with qWarning().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant