mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-02 11:36:18 -04:00
Feature : --key-file option for CLI (#816)
* removing readFromLine * Removing gui-prompt * execute uses an arg list. * Testing with key-file * Fixing the -a option in EntropyMeter.
This commit is contained in:
parent
1edabc4b3c
commit
1d30283514
23 changed files with 92 additions and 189 deletions
|
@ -54,20 +54,3 @@ void UnlockDatabaseDialog::complete(bool r)
|
|||
reject();
|
||||
}
|
||||
}
|
||||
|
||||
Database* UnlockDatabaseDialog::openDatabasePrompt(QString databaseFilename)
|
||||
{
|
||||
|
||||
UnlockDatabaseDialog* unlockDatabaseDialog = new UnlockDatabaseDialog();
|
||||
unlockDatabaseDialog->setObjectName("Open database");
|
||||
unlockDatabaseDialog->setDBFilename(databaseFilename);
|
||||
unlockDatabaseDialog->show();
|
||||
unlockDatabaseDialog->exec();
|
||||
|
||||
Database* db = unlockDatabaseDialog->database();
|
||||
if (!db) {
|
||||
qWarning("Could not open database %s.", qPrintable(databaseFilename));
|
||||
}
|
||||
delete unlockDatabaseDialog;
|
||||
return db;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue