mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-30 11:26:44 -05:00
OS X: Restore main window when clicking on the docker icon.
Apparently this worked previously. Maybe a regression in Qt? Refs #326
This commit is contained in:
parent
840642394f
commit
58ed99d562
3 changed files with 21 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ class Application : public QApplication
|
|||
|
||||
public:
|
||||
Application(int& argc, char** argv);
|
||||
void setMainWindow(QWidget* mainWindow);
|
||||
|
||||
bool event(QEvent* event) Q_DECL_OVERRIDE;
|
||||
#ifdef Q_WS_X11
|
||||
|
|
@ -37,6 +38,9 @@ public:
|
|||
|
||||
Q_SIGNALS:
|
||||
void openFile(const QString& filename);
|
||||
|
||||
private:
|
||||
QWidget* m_mainWindow;
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_APPLICATION_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue