diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-16 21:16:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-16 21:16:07 +0300 |
commit | 0c063cf5b45a843485fe3343e5fb79a40141f88c (patch) | |
tree | e2419701a312e0ba97404049cd5b82b7420c3fce /src/gui/windows/outfitwindow.cpp | |
parent | db82bf99bbd6d246f3e8da19fe88705f7015f144 (diff) | |
download | plus-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.gz plus-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.bz2 plus-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.xz plus-0c063cf5b45a843485fe3343e5fb79a40141f88c.zip |
Convert DragDropSource enum into strong typed enum.
Diffstat (limited to 'src/gui/windows/outfitwindow.cpp')
-rw-r--r-- | src/gui/windows/outfitwindow.cpp | 2 |
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; |