summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-27 21:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-27 21:44:17 +0300
commit7c79aa2b8e484319e3e511fa21db6d2448347024 (patch)
tree3c4fb4e72414dd8c0d93401a6bf2cc86b65a34a0 /src/gui/quitdialog.h
parentde476bb95242e10c833394ef007728072eabe60f (diff)
downloadplus-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.gz
plus-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.bz2
plus-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.xz
plus-7c79aa2b8e484319e3e511fa21db6d2448347024.zip
Add const to more classes.
Diffstat (limited to 'src/gui/quitdialog.h')
-rw-r--r--src/gui/quitdialog.h5
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;