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

PICARD-2871: Get rid of QtCore.QObject.tagger #2424

Merged
merged 3 commits into from
Apr 23, 2024

Conversation

zas
Copy link
Collaborator

@zas zas commented Apr 22, 2024

Summary

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Describe this change in 1-2 sentences:

Problem

Using QtCore.QObject.tagger is a bit problematic and hacky.
It was kept around for a long time, but it is now time to get rid of it.

Solution

Use QtCore.QCoreApplication.instance() as Tagger class inherit from it anyway.

Action

Additional actions required:

  • Update Picard documentation (please include a reference to this PR)
  • Other (please specify below)

picard/config.py Outdated Show resolved Hide resolved
Instead of `QtCore.QObject.tagger`
@zas zas force-pushed the byebye_qtcore_qobject_tagger branch from 57b55d5 to 306b9a6 Compare April 22, 2024 15:56
zas and others added 2 commits April 22, 2024 17:59
If app isn't passed just defaults to current application
Use explicit keyword arguments
@zas zas force-pushed the byebye_qtcore_qobject_tagger branch from 306b9a6 to 3b6b90d Compare April 22, 2024 16:00
@zas zas changed the title WIP: Get rid of QtCore.QObject.tagger PICARD-2871: Get rid of QtCore.QObject.tagger Apr 22, 2024
@zas zas marked this pull request as ready for review April 22, 2024 16:52
@zas zas requested a review from rdswift April 22, 2024 16:52
Copy link
Member

@phw phw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zas zas merged commit 5cea1f2 into metabrainz:master Apr 23, 2024
41 checks passed
@zas zas deleted the byebye_qtcore_qobject_tagger branch April 23, 2024 07:20
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.

2 participants