mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-20 10:45:33 -05:00
Merge branch '2.0'
This commit is contained in:
commit
ecfbf72a57
33 changed files with 9516 additions and 347 deletions
|
|
@ -447,7 +447,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
|
|||
void MainWindow::changeEvent(QEvent* event)
|
||||
{
|
||||
if ((event->type() == QEvent::WindowStateChange) && isMinimized()
|
||||
&& isTrayIconEnabled() && config()->get("GUI/MinimizeToTray").toBool())
|
||||
&& isTrayIconEnabled() && m_trayIcon && m_trayIcon->isVisible()
|
||||
&& config()->get("GUI/MinimizeToTray").toBool())
|
||||
{
|
||||
event->ignore();
|
||||
QTimer::singleShot(0, this, SLOT(hide()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue