summaryrefslogtreecommitdiff
path: root/src/gui/windows/equipmentwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
commitad233d01f2c63dab29a0301209196dfd97856130 (patch)
tree5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/gui/windows/equipmentwindow.cpp
parent477e52027f123fef9cc21cd1a66617913b8e1d47 (diff)
downloadmanaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz
manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2
manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz
manaplus-ad233d01f2c63dab29a0301209196dfd97856130.zip
Fix compilation without C++11 again.
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r--src/gui/windows/equipmentwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index b3accf9ed..54b3f2f7c 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -358,7 +358,7 @@ void EquipmentWindow::action(const ActionEvent &event)
}
else if (eventId == "playerbox")
{
- const DragDropSource src = dragDrop.getSource();
+ const DragDropSourceT src = dragDrop.getSource();
if (dragDrop.isEmpty() || (src != DragDropSource::Inventory
&& src != DragDropSource::Equipment))
{
@@ -501,7 +501,7 @@ void EquipmentWindow::mousePressed(MouseEvent& event)
void EquipmentWindow::mouseReleased(MouseEvent &event)
{
Window::mouseReleased(event);
- const DragDropSource src = dragDrop.getSource();
+ const DragDropSourceT src = dragDrop.getSource();
if (dragDrop.isEmpty() || (src != DragDropSource::Inventory
&& src != DragDropSource::Equipment))
{