-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement autoreload of database file #93
Conversation
When the database if modified by an other instance of KeePassX, KeePassX detect it and reload automatically the database.
Conflicts: src/gui/DatabaseWidget.cpp
# Conflicts: # src/gui/DatabaseWidget.cpp # src/gui/DatabaseWidget.h
I completed the two tasks in the original PR, request review from the team. |
#include <QLineEdit> | ||
#include <QKeyEvent> | ||
#include <QSplitter> | ||
#include <QLabel> | ||
#include <QProcess> | ||
#include <QHeaderView> | ||
#include <QApplication> | ||
#include <QtDebug> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's this necessary?
Cleaned up the code you mentioned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code reviewed and tested. It works very well!
* Ignore autoreload on save / save-as * Consolidated db save code * Corrected bug (crash) in merge entry code due to not cloning the entry * Enhanced known modified status of database * Implemented test cases for autoreload
b796020
to
3d24936
Compare
Description
Provides a simple implementation for autoreload of the database file if it is changed in the underlying file system. Includes a setting to explicitly ask to reload.
Original code written by "Sebastien Fricker" in 2014.
TODO:
Motivation and Context
Long requested feature of KeePassX, enables seamless use of cloud storage and sync tools.
How Has This Been Tested?
Manually
Types of changes
Checklist: