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

*: fix 'QObject::startTimer: Timers cannot be started from another thread' #799

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

cosven
Copy link
Member

@cosven cosven commented Feb 18, 2024

Summary
When UI operations is done in non-mainthread, this warning is raised.
This PR fix this warning by moving operations to main-thread.

Details
After PLAYBACK_CROSSFADE is enabled, player.play/pause is called in non-main-thread during fading,
and some UI updates is supposed done when player state changed.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 7946666296

Details

  • -1 of 6 (83.33%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 55.429%

Changes Missing Coverage Covered Lines Changed/Added Lines %
feeluown/gui/tray.py 4 5 80.0%
Totals Coverage Status
Change from base Build 7946590130: 0.0%
Covered Lines: 9066
Relevant Lines: 16356

💛 - Coveralls

@cosven cosven merged commit f7a5559 into feeluown:master Feb 18, 2024
10 checks passed
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.

None yet

2 participants