Fix custom icon with XEmbed tray (#51)
This commit is contained in:
parent
81d12c0e25
commit
3189a8ebfe
1 changed files with 2 additions and 0 deletions
|
|
@ -154,6 +154,8 @@ QIcon TrayIconGen(int counter, bool muted) {
|
|||
const auto iconName = GetTrayIconName(counter, muted);
|
||||
|
||||
if (cDisableTrayCounter()
|
||||
&& !QFileInfo::exists(cWorkingDir() + "tdata/icon.png")
|
||||
&& cCustomAppIcon() == 0
|
||||
&& !iconName.isEmpty()) {
|
||||
const auto result = QIcon::fromTheme(iconName);
|
||||
UpdateIconRegenerationNeeded(result, counter, muted, iconThemeName);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue