mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 15:59:50 -05:00
Restore formatting
This commit is contained in:
parent
c01e14c879
commit
0dac53df54
@ -482,7 +482,8 @@ void BrowserService::updateEntry(const QString& id,
|
||||
}
|
||||
}
|
||||
|
||||
QList<Entry*> BrowserService::searchEntries(const QSharedPointer<Database>& db, const QString& hostname, const QString& url)
|
||||
QList<Entry*>
|
||||
BrowserService::searchEntries(const QSharedPointer<Database>& db, const QString& hostname, const QString& url)
|
||||
{
|
||||
QList<Entry*> entries;
|
||||
auto* rootGroup = db->rootGroup();
|
||||
|
@ -135,13 +135,13 @@ namespace Utils
|
||||
|
||||
auto db = QSharedPointer<Database>::create();
|
||||
QString error;
|
||||
if (db->open(databaseFilename, compositeKey, &error, false)) {
|
||||
return db;
|
||||
}else {
|
||||
err << error << endl;
|
||||
return {};
|
||||
if (db->open(databaseFilename, compositeKey, &error, false)) {
|
||||
return db;
|
||||
} else {
|
||||
err << error << endl;
|
||||
return {};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Read a user password from STDIN or return a password previously
|
||||
|
Loading…
Reference in New Issue
Block a user