mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-08 22:42:34 -04:00
Automatic reload the database when the file is externally modified
This commit is contained in:
commit
06b1baa454
10 changed files with 182 additions and 6 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "core/Uuid.h"
|
||||
|
||||
#include "gui/entry/EntryModel.h"
|
||||
#include "core/FileSystemWatcher.h"
|
||||
|
||||
class ChangeMasterKeyWidget;
|
||||
class DatabaseOpenWidget;
|
||||
|
@ -148,6 +149,7 @@ private Q_SLOTS:
|
|||
void updateMasterKey(bool accepted);
|
||||
void openDatabase(bool accepted);
|
||||
void mergeDatabase(bool accepted);
|
||||
void databaseModifedExternally();
|
||||
void unlockDatabase(bool accepted);
|
||||
void emitCurrentModeChanged();
|
||||
void clearLastGroup(Group* group);
|
||||
|
@ -183,6 +185,8 @@ private:
|
|||
QString m_lastSearchText;
|
||||
bool m_searchCaseSensitive;
|
||||
bool m_searchCurrentGroup;
|
||||
|
||||
FileSystemWatcher m_file_watcher;
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_DATABASEWIDGET_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue