Adjust coding style.

This commit is contained in:
Felix Geyer 2015-04-14 23:10:37 +02:00
parent 6411b9bd66
commit 2dde18b179

View File

@ -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);
}