mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 16:29:44 -05:00
Adjust coding style.
This commit is contained in:
parent
6411b9bd66
commit
2dde18b179
@ -67,7 +67,7 @@ void DatabaseOpenWidget::load(const QString& filename)
|
||||
|
||||
m_ui->labelFilename->setText(filename);
|
||||
|
||||
if(config()->get("RememberLastKeyFiles").toBool()) {
|
||||
if (config()->get("RememberLastKeyFiles").toBool()) {
|
||||
QHash<QString, QVariant> lastKeyFiles = config()->get("LastKeyFiles").toHash();
|
||||
if (lastKeyFiles.contains(m_filename)) {
|
||||
m_ui->checkKeyFile->setChecked(true);
|
||||
@ -150,7 +150,7 @@ CompositeKey DatabaseOpenWidget::databaseKey()
|
||||
lastKeyFiles.remove(m_filename);
|
||||
}
|
||||
|
||||
if(config()->get("RememberLastKeyFiles").toBool()) {
|
||||
if (config()->get("RememberLastKeyFiles").toBool()) {
|
||||
config()->set("LastKeyFiles", lastKeyFiles);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user