summaryrefslogtreecommitdiff
path: root/src/gui/windows/outfitwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 21:16:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 21:16:07 +0300
commit0c063cf5b45a843485fe3343e5fb79a40141f88c (patch)
treee2419701a312e0ba97404049cd5b82b7420c3fce /src/gui/windows/outfitwindow.cpp
parentdb82bf99bbd6d246f3e8da19fe88705f7015f144 (diff)
downloadmanaverse-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.gz
manaverse-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.bz2
manaverse-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.xz
manaverse-0c063cf5b45a843485fe3343e5fb79a40141f88c.zip
Convert DragDropSource enum into strong typed enum.
Diffstat (limited to 'src/gui/windows/outfitwindow.cpp')
-rw-r--r--src/gui/windows/outfitwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/outfitwindow.cpp b/src/gui/windows/outfitwindow.cpp
index 7ce43333b..1cf89cb42 100644
--- a/src/gui/windows/outfitwindow.cpp
+++ b/src/gui/windows/outfitwindow.cpp
@@ -467,7 +467,7 @@ void OutfitWindow::mouseDragged(MouseEvent &event)
{
Item *const item = inv->findItem(itemId, itemColor);
if (item)
- dragDrop.dragItem(item, DRAGDROP_SOURCE_OUTFIT);
+ dragDrop.dragItem(item, DragDropSource::Outfit);
else
dragDrop.clear();
mItems[mCurrentOutfit][index] = -1;