diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-27 21:18:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-27 21:44:17 +0300 |
commit | 7c79aa2b8e484319e3e511fa21db6d2448347024 (patch) | |
tree | 3c4fb4e72414dd8c0d93401a6bf2cc86b65a34a0 /src/gui/quitdialog.h | |
parent | de476bb95242e10c833394ef007728072eabe60f (diff) | |
download | manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.gz manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.bz2 manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.xz manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/quitdialog.h')
-rw-r--r-- | src/gui/quitdialog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/quitdialog.h b/src/gui/quitdialog.h index 175812bad..5a4134d3a 100644 --- a/src/gui/quitdialog.h +++ b/src/gui/quitdialog.h @@ -50,7 +50,7 @@ class QuitDialog : public Window, public gcn::ActionListener, * * @pointerToMe will be set to NULL when the QuitDialog is destroyed */ - QuitDialog(QuitDialog **pointerToMe); + QuitDialog(QuitDialog **const pointerToMe); /** * Destructor @@ -65,7 +65,8 @@ class QuitDialog : public Window, public gcn::ActionListener, void keyPressed(gcn::KeyEvent &keyEvent); private: - void placeOption(ContainerPlacer &placer, gcn::RadioButton *option); + void placeOption(ContainerPlacer &placer, + gcn::RadioButton *const option); std::vector<gcn::RadioButton*> mOptions; gcn::RadioButton *mLogoutQuit; |