summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 00:51:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 00:51:19 +0300
commit29a93440367af32463f285ae5f0bd2aa23aadc92 (patch)
treef04bcf2f82649a5eb6b729399c49d431959d032c /src/gui/widgets/itemcontainer.cpp
parent495b746d928f28ce3e13ff95f26e8cddff2fb06e (diff)
downloadmanaverse-29a93440367af32463f285ae5f0bd2aa23aadc92.tar.gz
manaverse-29a93440367af32463f285ae5f0bd2aa23aadc92.tar.bz2
manaverse-29a93440367af32463f285ae5f0bd2aa23aadc92.tar.xz
manaverse-29a93440367af32463f285ae5f0bd2aa23aadc92.zip
Move itemtype into separate file.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r--src/gui/widgets/itemcontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index fccc21b2f..1be268d56 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -149,8 +149,8 @@ namespace
const ItemInfo &info1 = pair1->mItem->getInfo();
const ItemInfo &info2 = pair2->mItem->getInfo();
- const ItemType t1 = info1.getType();
- const ItemType t2 = info2.getType();
+ const ItemType::Type t1 = info1.getType();
+ const ItemType::Type t2 = info2.getType();
if (t1 == t2)
{
return (info1.getName() < info2.getName());