diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 14:35:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | aa507cb90f6fdfff35fb9d0f656c9568933b2898 (patch) | |
tree | 464a2b41923c1907154dac5ff50334086da5c179 /src/gui/widgets | |
parent | 4b0d72f3959911e5453683bbab75f08c2c84a6e9 (diff) | |
download | manaplus-aa507cb90f6fdfff35fb9d0f656c9568933b2898.tar.gz manaplus-aa507cb90f6fdfff35fb9d0f656c9568933b2898.tar.bz2 manaplus-aa507cb90f6fdfff35fb9d0f656c9568933b2898.tar.xz manaplus-aa507cb90f6fdfff35fb9d0f656c9568933b2898.zip |
fix const in declaration in guitable.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/guitable.cpp | 5 | ||||
-rw-r--r-- | src/gui/widgets/guitable.h | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp index 96aabc873..2de077f62 100644 --- a/src/gui/widgets/guitable.cpp +++ b/src/gui/widgets/guitable.cpp @@ -186,11 +186,6 @@ int GuiTable::getSelectedColumn() const return mSelectedColumn; } -void GuiTable::setLinewiseSelection(const bool linewise) -{ - mLinewiseMode = linewise; -} - int GuiTable::getRowHeight() const { if (mModel) diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h index fdc089721..c8f82d3cc 100644 --- a/src/gui/widgets/guitable.h +++ b/src/gui/widgets/guitable.h @@ -107,7 +107,10 @@ public: * * \param linewise: Whether to enable linewise selection mode */ - void setLinewiseSelection(bool linewise); + void setLinewiseSelection(bool linewise) + { + mLinewiseMode = linewise; + } // Inherited from Widget void draw(gcn::Graphics* graphics) override; |