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

Add missing main window icon #19815

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Add missing main window icon #19815

merged 1 commit into from
Oct 31, 2023

Conversation

iomezk
Copy link
Contributor

@iomezk iomezk commented Oct 28, 2023

Window icon isn't showing if "Use icons from system theme" setting is disabled.
This is how it looks in Lubuntu 22.04 / 23.10 for qBittorrent from sources/repo/AppImage:

1

2

The proposed patch uses "qbittorrent-tray" icon because there is no "qbittorrent" icon in the UI Theme.
Perhaps a better solution is possible.

@glassez
Copy link
Member

glassez commented Oct 29, 2023

Perhaps a better solution is possible.

I would add file alias in icons.qrc:

<file alias="qbittorrent.svg">qbittorrent-tray.svg</file>

Below the following line:

<file>qbittorrent-tray.svg</file>

@glassez glassez added OS: Linux Issues specific to Linux distributions GUI GUI-related issues/changes labels Oct 29, 2023
@glassez glassez self-assigned this Oct 29, 2023
@glassez glassez added this to the 4.6.1 milestone Oct 29, 2023
@glassez glassez changed the title Window icon isn't showing if "Use icons from system theme" is disabled Ad dWindow icon isn't showing if "Use icons from system theme" is disabled Oct 29, 2023
@glassez glassez changed the title Ad dWindow icon isn't showing if "Use icons from system theme" is disabled Add missing Window icon Oct 29, 2023
@glassez glassez requested a review from a team October 29, 2023 13:11
@iomezk
Copy link
Contributor Author

iomezk commented Oct 29, 2023

Adding an alias is safer and solves the issue as expected.

@glassez glassez merged commit a689ccf into qbittorrent:master Oct 31, 2023
13 checks passed
@glassez
Copy link
Member

glassez commented Oct 31, 2023

@iomezk
Thank you!

@glassez glassez changed the title Add missing Window icon Add missing main window icon Oct 31, 2023
glassez pushed a commit to glassez/qBittorrent that referenced this pull request Nov 8, 2023
PR qbittorrent#19815.

---
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI GUI-related issues/changes OS: Linux Issues specific to Linux distributions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants