mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-02 02:17:05 -04: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
1 changed files with 1 additions and 0 deletions
|
@ -512,6 +512,7 @@ void MainWindow::updateTrayIcon()
|
|||
}
|
||||
else {
|
||||
if (m_trayIcon) {
|
||||
m_trayIcon->hide();
|
||||
delete m_trayIcon;
|
||||
m_trayIcon = Q_NULLPTR;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue