diff options
Diffstat (limited to 'src/core/Entry.h')
-rw-r--r-- | src/core/Entry.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/Entry.h b/src/core/Entry.h index 248bb71a4..319b0da04 100644 --- a/src/core/Entry.h +++ b/src/core/Entry.h @@ -19,6 +19,7 @@ #define KEEPASSX_ENTRY_H #include <QtCore/QHash> +#include <QtCore/QPointer> #include <QtCore/QSet> #include <QtCore/QUrl> #include <QtGui/QColor> @@ -122,7 +123,7 @@ private: QSet<QString> m_protectedAttachments; QList<Entry*> m_history; - Group* m_group; + QPointer<Group> m_group; const Database* m_db; const static QStringList m_defaultAttibutes; }; |