mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-18 13:24:10 -05: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:
parent
3d1c27ceb7
commit
84ee8b993f
@ -512,6 +512,7 @@ void MainWindow::updateTrayIcon()
|
||||
}
|
||||
else {
|
||||
if (m_trayIcon) {
|
||||
m_trayIcon->hide();
|
||||
delete m_trayIcon;
|
||||
m_trayIcon = Q_NULLPTR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user