From 6073c6da086f3d1eec0fed731dc3fa5d8808fa0d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 20 Aug 2015 16:12:52 +0300 Subject: Add missing checks or attributes to windows. --- src/gui/windows/quitdialog.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/gui/windows/quitdialog.h') diff --git a/src/gui/windows/quitdialog.h b/src/gui/windows/quitdialog.h index 96614401f..d4dcbfe4f 100644 --- a/src/gui/windows/quitdialog.h +++ b/src/gui/windows/quitdialog.h @@ -46,7 +46,7 @@ class QuitDialog final : public Window, * * @pointerToMe will be set to NULL when the QuitDialog is destroyed */ - explicit QuitDialog(QuitDialog **const pointerToMe); + explicit QuitDialog(QuitDialog **const pointerToMe) A_NONNULL(2); A_DELETE_COPY(QuitDialog) @@ -69,15 +69,15 @@ class QuitDialog final : public Window, RadioButton *const option); std::vector mOptions; - RadioButton *mLogoutQuit; - RadioButton *mForceQuit; - RadioButton *mSwitchAccountServer; - RadioButton *mSwitchCharacter; - RadioButton *mRate; - Button *mOkButton; - Button *mCancelButton; + RadioButton *mLogoutQuit A_NONNULLPOINTER; + RadioButton *mForceQuit A_NONNULLPOINTER; + RadioButton *mSwitchAccountServer A_NONNULLPOINTER; + RadioButton *mSwitchCharacter A_NONNULLPOINTER; + RadioButton *mRate A_NONNULLPOINTER; + Button *mOkButton A_NONNULLPOINTER; + Button *mCancelButton A_NONNULLPOINTER; - QuitDialog **mMyPointer; + QuitDialog **mMyPointer A_NONNULLPOINTER; bool mNeedForceQuit; }; -- cgit v1.2.3-70-g09d2