diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-18 19:46:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-18 21:52:08 +0300 |
commit | c0d5142d1ed98b62ad87603fa9d2620dce256bd7 (patch) | |
tree | 6acc4c089999353ef39c83c3bef34bbf89dbfdd3 /src/gui/inventorywindow.cpp | |
parent | e85c6227064c905945a4d49a5e11a0078243a1ac (diff) | |
download | manaverse-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.tar.gz manaverse-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.tar.bz2 manaverse-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.tar.xz manaverse-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.zip |
add consts in gui classes.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 4129cc981..7a1645148 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -578,7 +578,7 @@ void InventoryWindow::mouseClicked(gcn::MouseEvent &event) void InventoryWindow::mouseMoved(gcn::MouseEvent &event) { Window::mouseMoved(event); - gcn::Widget *const src = event.getSource(); + const gcn::Widget *const src = event.getSource(); if (src == mSlotsBar || src == mWeightBar) { const int x = event.getX(); |