From ad233d01f2c63dab29a0301209196dfd97856130 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Nov 2015 02:42:24 +0300 Subject: Fix compilation without C++11 again. --- src/gui/widgets/itemcontainer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 108dc8638..e17cb711e 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -575,7 +575,7 @@ void ItemContainer::mousePressed(MouseEvent &event) if (item && mDescItems && chatWindow) chatWindow->addItemText(item->getInfo().getName()); - DragDropSource src = DragDropSource::Empty; + DragDropSourceT src = DragDropSource::Empty; switch (mInventory->getType()) { case InventoryType::Inventory: @@ -681,8 +681,8 @@ void ItemContainer::mouseReleased(MouseEvent &event) } else if (mInventory) { - const DragDropSource src = dragDrop.getSource(); - DragDropSource dst = DragDropSource::Empty; + const DragDropSourceT src = dragDrop.getSource(); + DragDropSourceT dst = DragDropSource::Empty; switch (mInventory->getType()) { case InventoryType::Inventory: -- cgit v1.2.3-60-g2f50