mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Explicity hide the tray icon before deleting it.
In some conditions the tray icon stayed visible until the application was closed. Tested on Kubuntu 15.04 (KDE Plasma 5.2).
This commit is contained in:
@@ -512,6 +512,7 @@ void MainWindow::updateTrayIcon()
|
||||
}
|
||||
else {
|
||||
if (m_trayIcon) {
|
||||
m_trayIcon->hide();
|
||||
delete m_trayIcon;
|
||||
m_trayIcon = Q_NULLPTR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user