mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Adjust coding style.
This commit is contained in:
@@ -67,7 +67,7 @@ void DatabaseOpenWidget::load(const QString& filename)
|
|||||||
|
|
||||||
m_ui->labelFilename->setText(filename);
|
m_ui->labelFilename->setText(filename);
|
||||||
|
|
||||||
if(config()->get("RememberLastKeyFiles").toBool()) {
|
if (config()->get("RememberLastKeyFiles").toBool()) {
|
||||||
QHash<QString, QVariant> lastKeyFiles = config()->get("LastKeyFiles").toHash();
|
QHash<QString, QVariant> lastKeyFiles = config()->get("LastKeyFiles").toHash();
|
||||||
if (lastKeyFiles.contains(m_filename)) {
|
if (lastKeyFiles.contains(m_filename)) {
|
||||||
m_ui->checkKeyFile->setChecked(true);
|
m_ui->checkKeyFile->setChecked(true);
|
||||||
@@ -150,7 +150,7 @@ CompositeKey DatabaseOpenWidget::databaseKey()
|
|||||||
lastKeyFiles.remove(m_filename);
|
lastKeyFiles.remove(m_filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(config()->get("RememberLastKeyFiles").toBool()) {
|
if (config()->get("RememberLastKeyFiles").toBool()) {
|
||||||
config()->set("LastKeyFiles", lastKeyFiles);
|
config()->set("LastKeyFiles", lastKeyFiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user