Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2393

Code cleanup and refactorings

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 3.0
    • None
    • None
    • None

      This is just to document some general changes we should look into and probably apply to the codebase for Picard 3 so we don't forget about this.

      • Check code for deprecated methods and remove them
      • Turn the Item.can_* and Item.is_* methods into properties
      • Get rid of QObject.tagger. Explicitly pass tagger instance around, or where this is not feasible use QCoreApplication.instance()
      • Consider wrapping QCoreApplication.instance() into an own function (e.g. Tagger.instance() static method)
      • Same for QObject.log and QObject.config
      • Check for workarounds for specific issues with dependency, validate if the workarounds are still needed with the new minimum versions of requirements
      • Rename variables / functions / options related to non album tracks to standalone recordings for consistency

            WhiteWolf47 Anurag Bhandari
            outsidecontext Philipp Wolfer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package
                3.0