mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-29 19:06:55 -05:00
Ignore double close event on macOS, resolves #430
This commit is contained in:
parent
c69a978589
commit
00dc4b9ace
2 changed files with 14 additions and 5 deletions
|
|
@ -40,6 +40,7 @@ class MainWindow : public QMainWindow
|
|||
public:
|
||||
MainWindow();
|
||||
~MainWindow();
|
||||
|
||||
enum StackedWidgetIndex
|
||||
{
|
||||
DatabaseTabScreen = 0,
|
||||
|
|
@ -118,7 +119,8 @@ private:
|
|||
|
||||
Q_DISABLE_COPY(MainWindow)
|
||||
|
||||
bool appExitCalled;
|
||||
bool m_appExitCalled;
|
||||
bool m_appExiting;
|
||||
};
|
||||
|
||||
#define KEEPASSXC_MAIN_WINDOW (qobject_cast<Application*>(qApp) ? \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue