From c0d5142d1ed98b62ad87603fa9d2620dce256bd7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 19:46:23 +0300 Subject: add consts in gui classes. --- src/gui/inventorywindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/inventorywindow.cpp') 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(); -- cgit v1.2.3-70-g09d2