mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-19 20:34:46 -04:00
cleaner handling of TrayIconEnabled
This commit is contained in:
parent
539f86fd0b
commit
86f12d9e83
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ void MainWindow::databaseTabChanged(int tabIndex)
|
|||
|
||||
void MainWindow::closeEvent(QCloseEvent* event)
|
||||
{
|
||||
bool minimizeOnClose = config()->get("GUI/ShowTrayIcon").toBool() &&
|
||||
bool minimizeOnClose = isTrayIconEnabled() &&
|
||||
config()->get("GUI/MinimizeToTray").toBool() &&
|
||||
config()->get("GUI/MinimizeOnClose").toBool();
|
||||
if (minimizeOnClose && !appExitCalled)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue