summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-02 15:34:55 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-02 15:34:55 +0300
commit9d9890e76023681a3ef98e2a743856f66a91e97f (patch)
tree68ac60e69bc3548ec9210018c39fa74408dbd1fb /src/gui
parent85c9ac79bfaf5e428d9e713841b0e4495eb413f7 (diff)
downloadmanaverse-9d9890e76023681a3ef98e2a743856f66a91e97f.tar.gz
manaverse-9d9890e76023681a3ef98e2a743856f66a91e97f.tar.bz2
manaverse-9d9890e76023681a3ef98e2a743856f66a91e97f.tar.xz
manaverse-9d9890e76023681a3ef98e2a743856f66a91e97f.zip
fix compilation with old compilers.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/outfitwindow.cpp2
-rw-r--r--src/gui/widgets/dropshortcutcontainer.cpp2
-rw-r--r--src/gui/widgets/itemcontainer.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp
index da5609148..b00ab69b9 100644
--- a/src/gui/outfitwindow.cpp
+++ b/src/gui/outfitwindow.cpp
@@ -408,7 +408,7 @@ void OutfitWindow::mouseDragged(gcn::MouseEvent &event)
{
Item *const item = inv->findItem(itemId, itemColor);
if (item)
- dragDrop.dragItem(item, DragDropSource::DRAGDROP_SOURCE_OUTFIT);
+ dragDrop.dragItem(item, DRAGDROP_SOURCE_OUTFIT);
else
dragDrop.clear();
mItems[mCurrentOutfit][index] = -1;
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;