From 29a93440367af32463f285ae5f0bd2aa23aadc92 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 19 May 2014 00:51:19 +0300 Subject: Move itemtype into separate file. --- src/gui/windows/buydialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index 6799bcaf8..5d6774a51 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -152,8 +152,8 @@ namespace if (!item1 || !item2) return false; - const ItemType type1 = item1->getInfo().getType(); - const ItemType type2 = item2->getInfo().getType(); + const ItemType::Type type1 = item1->getInfo().getType(); + const ItemType::Type type2 = item2->getInfo().getType(); if (type1 == type2) return item1->getPrice() < item2->getPrice(); return type1 < type2; -- cgit v1.2.3-70-g09d2