mirror of https://github.com/procxx/kepka.git
Disable SNI tray icon name setting in snap
Otherwise there are a dummy icon when tray counter is disabled
This commit is contained in:
parent
9f0d6e9fab
commit
da926d7f10
|
@ -451,7 +451,7 @@ void MainWindow::setSNITrayIcon(int counter, bool muted, bool firstShow) {
|
|||
const auto iconName = GetTrayIconName(counter, muted);
|
||||
|
||||
if (qEnvironmentVariableIsSet(kDisableTrayCounter.utf8())
|
||||
&& (!iconName.isEmpty()
|
||||
&& ((!iconName.isEmpty() && !InSnap())
|
||||
|| qEnvironmentVariableIsSet(kForcePanelIcon.utf8()))) {
|
||||
if (_sniTrayIcon->iconName() == iconName) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue