summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/equipmentwindow.cpp2
-rw-r--r--src/gui/windows/outfitwindow.cpp2
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;