summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-17 13:21:59 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-17 13:21:59 +0300
commitdf994f808e69d567fddc742656a1df86c15bf576 (patch)
tree86bc2841a3d3a4f167a3238a4e0a3c366e038550 /src/gui/widgets/guitable.cpp
parent7c2c9f4478aa41a850b01480a8278b325f5b0f95 (diff)
downloadplus-df994f808e69d567fddc742656a1df86c15bf576.tar.gz
plus-df994f808e69d567fddc742656a1df86c15bf576.tar.bz2
plus-df994f808e69d567fddc742656a1df86c15bf576.tar.xz
plus-df994f808e69d567fddc742656a1df86c15bf576.zip
improve tablemodel.
Diffstat (limited to 'src/gui/widgets/guitable.cpp')
-rw-r--r--src/gui/widgets/guitable.cpp4
1 files changed, 2 insertions, 2 deletions
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)
{