From 84ff6a13f9cd11214396deb31d54955abbcd7b0b Mon Sep 17 00:00:00 2001 From: Patrick Klein <42714034+libklein@users.noreply.github.com> Date: Sun, 7 Nov 2021 23:41:17 +0100 Subject: 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. --- src/core/Config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/Config.h') 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); -- cgit v1.2.3