mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-24 05:31:11 -05:00
Add back missing initializers to KeeAgentSettings
This commit is contained in:
parent
8e4b0fdfe8
commit
464e49d329
@ -19,12 +19,6 @@
|
|||||||
#include "KeeAgentSettings.h"
|
#include "KeeAgentSettings.h"
|
||||||
#include "core/Tools.h"
|
#include "core/Tools.h"
|
||||||
|
|
||||||
KeeAgentSettings::KeeAgentSettings()
|
|
||||||
: m_lifetimeConstraintDuration(600)
|
|
||||||
, m_selectedType(QString("file"))
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
bool KeeAgentSettings::operator==(const KeeAgentSettings& other) const
|
bool KeeAgentSettings::operator==(const KeeAgentSettings& other) const
|
||||||
{
|
{
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
@ -27,8 +27,6 @@
|
|||||||
class KeeAgentSettings
|
class KeeAgentSettings
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
KeeAgentSettings();
|
|
||||||
|
|
||||||
bool operator==(const KeeAgentSettings& other) const;
|
bool operator==(const KeeAgentSettings& other) const;
|
||||||
bool operator!=(const KeeAgentSettings& other) const;
|
bool operator!=(const KeeAgentSettings& other) const;
|
||||||
bool isDefault() const;
|
bool isDefault() const;
|
||||||
@ -72,17 +70,17 @@ private:
|
|||||||
bool readBool(QXmlStreamReader& reader);
|
bool readBool(QXmlStreamReader& reader);
|
||||||
int readInt(QXmlStreamReader& reader);
|
int readInt(QXmlStreamReader& reader);
|
||||||
|
|
||||||
bool m_allowUseOfSshKey;
|
bool m_allowUseOfSshKey = false;
|
||||||
bool m_addAtDatabaseOpen;
|
bool m_addAtDatabaseOpen = false;
|
||||||
bool m_removeAtDatabaseClose;
|
bool m_removeAtDatabaseClose = false;
|
||||||
bool m_useConfirmConstraintWhenAdding;
|
bool m_useConfirmConstraintWhenAdding = false;
|
||||||
bool m_useLifetimeConstraintWhenAdding;
|
bool m_useLifetimeConstraintWhenAdding = false;
|
||||||
int m_lifetimeConstraintDuration;
|
int m_lifetimeConstraintDuration = 600;
|
||||||
|
|
||||||
// location
|
// location
|
||||||
QString m_selectedType;
|
QString m_selectedType = QString("file");
|
||||||
QString m_attachmentName;
|
QString m_attachmentName;
|
||||||
bool m_saveAttachmentToTempFile;
|
bool m_saveAttachmentToTempFile = false;
|
||||||
QString m_fileName;
|
QString m_fileName;
|
||||||
QString m_error;
|
QString m_error;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user