diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-30 02:10:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-30 02:10:59 +0300 |
commit | 46f0755975033f37eaae9db73c0e2b6499c2a923 (patch) | |
tree | 5c13c361ce4a4e4fd0e07fca1953c54637965666 /src/gui/widgets/guitable.h | |
parent | 1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (diff) | |
download | plus-46f0755975033f37eaae9db73c0e2b6499c2a923.tar.gz plus-46f0755975033f37eaae9db73c0e2b6499c2a923.tar.bz2 plus-46f0755975033f37eaae9db73c0e2b6499c2a923.tar.xz plus-46f0755975033f37eaae9db73c0e2b6499c2a923.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/widgets/guitable.h')
-rw-r--r-- | src/gui/widgets/guitable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h index d5810fcbf..f00a3cbf3 100644 --- a/src/gui/widgets/guitable.h +++ b/src/gui/widgets/guitable.h @@ -53,8 +53,8 @@ class GuiTable : public gcn::Widget, friend class GuiTableActionListener; public: - GuiTable(TableModel * initial_model = nullptr, - bool opacity = true); + GuiTable(TableModel *const initial_model = nullptr, + const bool opacity = true); virtual ~GuiTable(); @@ -71,7 +71,7 @@ public: * the widget have been triggered. To be notified after such an update, add * an action listener to the table instead. */ - void setModel(TableModel *m); + void setModel(TableModel *const m); void setSelected(int row, int column); |