From df994f808e69d567fddc742656a1df86c15bf576 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 17 Jun 2013 13:21:59 +0300 Subject: improve tablemodel. --- src/gui/widgets/guitable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/guitable.cpp') diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp index 37fe17d95..460fd4218 100644 --- a/src/gui/widgets/guitable.cpp +++ b/src/gui/widgets/guitable.cpp @@ -199,7 +199,7 @@ int GuiTable::getRowHeight() const return 0; } -int GuiTable::getColumnWidth(int i) const +int GuiTable::getColumnWidth(const int i) const { if (mModel) return mModel->getColumnWidth(i) + 4; // border @@ -514,7 +514,7 @@ void GuiTable::mouseDragged(gcn::MouseEvent& mouseEvent) setSelectedColumn(getColumnForX(x)); } -void GuiTable::modelUpdated(bool completed) +void GuiTable::modelUpdated(const bool completed) { if (completed) { -- cgit v1.2.3-60-g2f50