mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-30 19:37:15 -05:00
Add settings option to control if previous databases are opened on startup.
Closes #36
This commit is contained in:
parent
6f92188323
commit
bbf183bef7
4 changed files with 24 additions and 9 deletions
|
|
@ -62,7 +62,7 @@ int main(int argc, char** argv)
|
|||
QStringList filenames = config()->get("OpenDatabasesOnExit").toStringList();
|
||||
Q_FOREACH (const QString& filename, filenames) {
|
||||
if (!filename.isEmpty() && QFile::exists(filename)) {
|
||||
mainWindow.openDatabase(filename, argumentMap.value("password"), QString());
|
||||
mainWindow.openDatabase(filename, QString(), QString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue