diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 21:04:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 21:04:31 +0300 |
commit | dc6de526dbdf0145fa3ac0a65d485f40b1722199 (patch) | |
tree | 78d8dab1688da99ad143f72cc766bcb1dfa86bee /src/gui/windows | |
parent | c6978f44df12c939ceca551fd071993402a7e4ee (diff) | |
download | plus-dc6de526dbdf0145fa3ac0a65d485f40b1722199.tar.gz plus-dc6de526dbdf0145fa3ac0a65d485f40b1722199.tar.bz2 plus-dc6de526dbdf0145fa3ac0a65d485f40b1722199.tar.xz plus-dc6de526dbdf0145fa3ac0a65d485f40b1722199.zip |
Remove default parameters from dragdrop.g
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/outfitwindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index a859ef02b..514499547 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -463,7 +463,7 @@ void EquipmentWindow::mousePressed(MouseEvent& event) { event.consume(); setSelected(i); - dragDrop.dragItem(item, DragDropSource::Equipment); + dragDrop.dragItem(item, DragDropSource::Equipment, 0); return; } } diff --git a/src/gui/windows/outfitwindow.cpp b/src/gui/windows/outfitwindow.cpp index fa288c7d9..3d190ad00 100644 --- a/src/gui/windows/outfitwindow.cpp +++ b/src/gui/windows/outfitwindow.cpp @@ -466,7 +466,7 @@ void OutfitWindow::mouseDragged(MouseEvent &event) { Item *const item = inv->findItem(itemId, itemColor); if (item != nullptr) - dragDrop.dragItem(item, DragDropSource::Outfit); + dragDrop.dragItem(item, DragDropSource::Outfit, 0); else dragDrop.clear(); mItems[mCurrentOutfit][index] = -1; |