From aa507cb90f6fdfff35fb9d0f656c9568933b2898 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 14:35:53 +0300 Subject: fix const in declaration in guitable. --- src/gui/widgets/guitable.cpp | 5 ----- src/gui/widgets/guitable.h | 5 ++++- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-60-g2f50