Skip to content

fix: file storage widget fails to load due to Python error trying to call tr() statically on QObject#795

Merged
suricactus merged 1 commit into
masterfrom
QF-8240-fix-tr
May 12, 2026
Merged

fix: file storage widget fails to load due to Python error trying to call tr() statically on QObject#795
suricactus merged 1 commit into
masterfrom
QF-8240-fix-tr

Conversation

@suricactus
Copy link
Copy Markdown
Collaborator

Just make a tmp QObject, used in several other places too.

Error:

TypeError: tr(self, sourceText: str, disambiguation: str = None, n: int = -1): first argument of unbound method must have type 'QObject'

…call `tr()` statically on `QObject`

Just make a tmp `QObject`, used in several other places too.

Error:
```
TypeError: tr(self, sourceText: str, disambiguation: str = None, n: int = -1): first argument of unbound method must have type 'QObject'
```
@duke-nyuki
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@gounux gounux left a comment

Choose a reason for hiding this comment

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

Checked out locally, problem solved thanks !

@suricactus suricactus merged commit 0e49f96 into master May 12, 2026
9 checks passed
@suricactus suricactus deleted the QF-8240-fix-tr branch May 12, 2026 07:36
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.

3 participants