mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-19 19:48:36 -04:00
Upgrade to KDBX 4 if new 4.1 features are used
This commit is contained in:
parent
835e31ac3c
commit
c872e406ed
2 changed files with 24 additions and 3 deletions
|
@ -33,6 +33,7 @@ public:
|
|||
bool writeDatabase(const QString& filename, Database* db);
|
||||
bool writeDatabase(QIODevice* device, Database* db);
|
||||
void extractDatabase(Database* db, QByteArray& xmlOutput);
|
||||
static bool implicitKDBXUpgradeNeeded(Database const* db);
|
||||
|
||||
QSharedPointer<KdbxWriter> writer() const;
|
||||
quint32 version() const;
|
||||
|
@ -42,7 +43,6 @@ public:
|
|||
|
||||
private:
|
||||
void raiseError(const QString& errorMessage);
|
||||
bool implicitUpgradeNeeded(Database const* db) const;
|
||||
|
||||
bool m_error = false;
|
||||
QString m_errorStr = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue