From b17cb60b5c966ec84a0bccd1ed26344aeed61bce Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 21 Oct 2012 15:09:01 +0200 Subject: [PATCH] Coding style fixes. --- src/gui/UnlockDatabaseWidget.h | 5 +++++ src/gui/entry/EditEntryWidget.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gui/UnlockDatabaseWidget.h b/src/gui/UnlockDatabaseWidget.h index 81da2245d..c6ae5a702 100644 --- a/src/gui/UnlockDatabaseWidget.h +++ b/src/gui/UnlockDatabaseWidget.h @@ -15,6 +15,9 @@ * along with this program. If not, see . */ +#ifndef KEEPASSX_UNLOCKDATABASEWIDGET_H +#define KEEPASSX_UNLOCKDATABASEWIDGET_H + #include "gui/DatabaseOpenWidget.h" class UnlockDatabaseWidget : public DatabaseOpenWidget @@ -31,3 +34,5 @@ protected: private Q_SLOTS: void clearForms(); }; + +#endif // KEEPASSX_UNLOCKDATABASEWIDGET_H diff --git a/src/gui/entry/EditEntryWidget.h b/src/gui/entry/EditEntryWidget.h index 9507c3b3e..c72e6044e 100644 --- a/src/gui/entry/EditEntryWidget.h +++ b/src/gui/entry/EditEntryWidget.h @@ -96,7 +96,7 @@ private Q_SLOTS: private: bool passwordsEqual(); void setForms(const Entry* entry, bool restore = false); - QMenu *createPresetsMenu(); + QMenu* createPresetsMenu(); Entry* m_entry; Database* m_database;