summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tablemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tablemodel.cpp')
-rw-r--r--src/gui/widgets/tablemodel.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/tablemodel.cpp b/src/gui/widgets/tablemodel.cpp
index 3b0c3e854..87c620afc 100644
--- a/src/gui/widgets/tablemodel.cpp
+++ b/src/gui/widgets/tablemodel.cpp
@@ -119,7 +119,8 @@ void StaticTableModel::set(const int row, const int column,
signalAfterUpdate();
}
-gcn::Widget *StaticTableModel::getElementAt(int row, int column) const
+gcn::Widget *StaticTableModel::getElementAt(const int row,
+ const int column) const
{
return mTableModel[WIDGET_AT(row, column)];
}
@@ -145,7 +146,7 @@ int StaticTableModel::getRowHeight() const
return abs(mHeight);
}
-int StaticTableModel::getColumnWidth(int column) const
+int StaticTableModel::getColumnWidth(const int column) const
{
if (column < 0 || column >= mColumns)
return 0;