mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix macOS window activation issues
Reverts part of 34b7d08a5, which introduced a regression.
This commit is contained in:
parent
0a0389ad56
commit
2ac1e0ed49
@ -212,6 +212,12 @@ bool Application::event(QEvent* event)
|
||||
emit openFile(static_cast<QFileOpenEvent*>(event)->file());
|
||||
return true;
|
||||
}
|
||||
#ifdef Q_OS_MACOS
|
||||
// restore main window when clicking on the docker icon
|
||||
else if (event->type() == QEvent::ApplicationActivate) {
|
||||
emit applicationActivated();
|
||||
}
|
||||
#endif
|
||||
|
||||
return QApplication::event(event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user