summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/dropshortcutcontainer.cpp2
-rw-r--r--src/gui/widgets/itemcontainer.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/dropshortcutcontainer.cpp b/src/gui/widgets/dropshortcutcontainer.cpp
index 166b5eaec..2a65a57c1 100644
--- a/src/gui/widgets/dropshortcutcontainer.cpp
+++ b/src/gui/widgets/dropshortcutcontainer.cpp
@@ -184,7 +184,7 @@ void DropShortcutContainer::mouseDragged(gcn::MouseEvent &event)
if (item)
{
- dragDrop.dragItem(item, DragDropSource::DRAGDROP_SOURCE_DROP);
+ dragDrop.dragItem(item, DRAGDROP_SOURCE_DROP);
dropShortcut->removeItem(index);
}
else
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index eb353f5cf..8e05097b5 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -400,13 +400,13 @@ void ItemContainer::mousePressed(gcn::MouseEvent &event)
if (mSelectedIndex == index && mClicks != 2)
{
- dragDrop.dragItem(item, DragDropSource::DRAGDROP_SOURCE_INVENTORY);
+ dragDrop.dragItem(item, DRAGDROP_SOURCE_INVENTORY);
dragDrop.select(item);
mSelectionStatus = SEL_DESELECTING;
}
else if (item && item->getId())
{
- dragDrop.dragItem(item, DragDropSource::DRAGDROP_SOURCE_INVENTORY);
+ dragDrop.dragItem(item, DRAGDROP_SOURCE_INVENTORY);
dragDrop.select(item);
setSelectedIndex(index);
mSelectionStatus = SEL_SELECTING;