diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-02 15:34:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-02 15:34:55 +0300 |
commit | 9d9890e76023681a3ef98e2a743856f66a91e97f (patch) | |
tree | 68ac60e69bc3548ec9210018c39fa74408dbd1fb /src/gui/widgets/itemcontainer.cpp | |
parent | 85c9ac79bfaf5e428d9e713841b0e4495eb413f7 (diff) | |
download | plus-9d9890e76023681a3ef98e2a743856f66a91e97f.tar.gz plus-9d9890e76023681a3ef98e2a743856f66a91e97f.tar.bz2 plus-9d9890e76023681a3ef98e2a743856f66a91e97f.tar.xz plus-9d9890e76023681a3ef98e2a743856f66a91e97f.zip |
fix compilation with old compilers.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |