Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Klein <42714034+libklein@users.noreply.github.com>2021-11-08 01:41:17 +0300
committerGitHub <noreply@github.com>2021-11-08 01:41:17 +0300
commit84ff6a13f9cd11214396deb31d54955abbcd7b0b (patch)
tree0fa0d84475f9f79c4a8ce12d8582715b0f084940 /src/core/Config.h
parent8d7e4918109b1e40660e2988e79e1cf15e899580 (diff)
Allow specifing database backup paths. (#7035)
- Default backupFilePath is '{DB_FILENAME}.old.kdbx' to conform to existing standards - Implement backupPathPattern tests. - Show tooltip on how to format database backup location text field.
Diffstat (limited to 'src/core/Config.h')
-rw-r--r--src/core/Config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Config.h b/src/core/Config.h
index 8e5c14e35..1be8699ca 100644
--- a/src/core/Config.h
+++ b/src/core/Config.h
@@ -43,6 +43,7 @@ public:
AutoSaveOnExit,
AutoSaveNonDataChanges,
BackupBeforeSave,
+ BackupFilePathPattern,
UseAtomicSaves,
UseDirectWriteSaves,
SearchLimitGroup,
@@ -195,6 +196,7 @@ public:
~Config() override;
QVariant get(ConfigKey key);
+ QVariant getDefault(ConfigKey key);
QString getFileName();
void set(ConfigKey key, const QVariant& value);
void remove(ConfigKey key);