mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-17 14:00:36 -04:00
Improve Database and CLI tests
This commit is contained in:
parent
744b4abce8
commit
1e694271a3
9 changed files with 127 additions and 91 deletions
|
@ -54,7 +54,7 @@ Database::Database()
|
|||
|
||||
s_uuidMap.insert(m_uuid, this);
|
||||
|
||||
connect(m_metadata, SIGNAL(metadataModified()), this, SLOT(markAsModified()));
|
||||
connect(m_metadata, SIGNAL(metadataModified()), SLOT(markAsModified()));
|
||||
connect(m_timer, SIGNAL(timeout()), SIGNAL(databaseModified()));
|
||||
connect(this, SIGNAL(databaseOpened()), SLOT(updateCommonUsernames()));
|
||||
connect(this, SIGNAL(databaseSaved()), SLOT(updateCommonUsernames()));
|
||||
|
@ -189,7 +189,7 @@ bool Database::save(QString* error, bool atomic, bool backup)
|
|||
/**
|
||||
* Save the database to a specific file.
|
||||
*
|
||||
* If atmoic is false, this function uses QTemporaryFile instead of QSaveFile
|
||||
* If atomic is false, this function uses QTemporaryFile instead of QSaveFile
|
||||
* due to a bug in Qt (https://bugreports.qt.io/browse/QTBUG-57299) that may
|
||||
* prevent the QSaveFile from renaming itself when using Dropbox, Google Drive,
|
||||
* or OneDrive.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue