Revert "Workaround for tray close bug"
This reverts commit 0afbcf35.
This was actually already fixed: frameworks/kstatusnotifieritem!11 (merged)
The workaround was needed for the KDE runtime 6.6-kf6preview which didn't have this fix, it's not needed for the 6.6 version on Flathub.
Edited by Thiago Sueto