diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-17 02:42:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-17 02:42:24 +0300 |
commit | ad233d01f2c63dab29a0301209196dfd97856130 (patch) | |
tree | 5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/gui/widgets/itemcontainer.cpp | |
parent | 477e52027f123fef9cc21cd1a66617913b8e1d47 (diff) | |
download | plus-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz plus-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2 plus-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz plus-ad233d01f2c63dab29a0301209196dfd97856130.zip |
Fix compilation without C++11 again.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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: |