summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
commit1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (patch)
tree68fe26fdd1ef25645deef894c296b6fbc80b0e13 /src/gui/inventorywindow.cpp
parent41044107cc0a17125ebd806c9934b6eb636dafe6 (diff)
downloadmanaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.gz
manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.bz2
manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.xz
manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.zip
Add const to more classes.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index fcef420bd..a5849315b 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -561,7 +561,7 @@ void InventoryWindow::updateButtons(const Item *item)
if (!mInventory || !mInventory->isMainInventory())
return;
- Item *const selectedItem = mItems->getSelectedItem();
+ const Item *const selectedItem = mItems->getSelectedItem();
if (item && selectedItem != item)
return;