mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-30 19:37:15 -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
|
|
@ -82,6 +82,7 @@ int main(int argc, char** argv)
|
|||
|
||||
MainWindow mainWindow;
|
||||
mainWindow.show();
|
||||
app.setMainWindow(&mainWindow);
|
||||
|
||||
QObject::connect(&app, SIGNAL(openFile(QString)), &mainWindow, SLOT(openDatabase(QString)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue