summaryrefslogtreecommitdiff
path: root/src/gui/windows/quitdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-20 16:12:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-20 16:12:52 +0300
commit6073c6da086f3d1eec0fed731dc3fa5d8808fa0d (patch)
treeeb4b3ee40202a8b982de3772152643e70ebd4118 /src/gui/windows/quitdialog.h
parentcc939bec81af517d0e430064d872e3388116d16e (diff)
downloadplus-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.tar.gz
plus-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.tar.bz2
plus-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.tar.xz
plus-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.zip
Add missing checks or attributes to windows.
Diffstat (limited to 'src/gui/windows/quitdialog.h')
-rw-r--r--src/gui/windows/quitdialog.h18
1 files changed, 9 insertions, 9 deletions
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<RadioButton*> 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;
};