mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-30 19:37:15 -05:00
Handle OSX Finder events
This commit is contained in:
parent
3bc3bfb15e
commit
679398be00
4 changed files with 85 additions and 1 deletions
|
|
@ -21,12 +21,13 @@
|
|||
|
||||
#include "crypto/Crypto.h"
|
||||
#include "gui/MainWindow.h"
|
||||
#include "core/KeePassApp.h"
|
||||
#include "keys/CompositeKey.h"
|
||||
#include "keys/PasswordKey.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
KeePassApp app(argc, argv);
|
||||
// don't set applicationName or organizationName as that changes
|
||||
// QDesktopServices::storageLocation()
|
||||
|
||||
|
|
@ -50,6 +51,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
|
||||
MainWindow mainWindow;
|
||||
app.setMainWindow(&mainWindow);
|
||||
mainWindow.show();
|
||||
|
||||
if (!filename.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue