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

Improve code of TrayIcon.py #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elig0n
Copy link

@elig0n elig0n commented Sep 28, 2024

  • Improved code readability: Tray menu is created first, then comes the icon stuff
  • Skips creation of temporary QImage variable and directly saves to temporary file
  • Temporary QImage file is removed after it is loaded to memory and unneeded anymore
  • Improper indents from empty lines removed

Improved code readability, temporary variable rightly named so, remove the temporary file when it is loaded and unneeded anymore
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.

1 participant