Skip to content

applet: Improve code quality

ivan tkachenko requested to merge work/ratijas/code-quality into master
  • Put {braces} around if-statement

  • Improve code style and property references

    The Item's parent property is just an Item object, it doesn't necessarily have a header property. An ID reference, on the other hand, is both typed and unambiguous.

  • Explicitly specify arguments in signal handlers

    Relying on engine automatically injecting them is non-obvious, and deprecated in Qt 6 for a reason.

Merge request reports