summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 21:04:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 21:04:31 +0300
commitdc6de526dbdf0145fa3ac0a65d485f40b1722199 (patch)
tree78d8dab1688da99ad143f72cc766bcb1dfa86bee /src/gui/widgets
parentc6978f44df12c939ceca551fd071993402a7e4ee (diff)
downloadmanaverse-dc6de526dbdf0145fa3ac0a65d485f40b1722199.tar.gz
manaverse-dc6de526dbdf0145fa3ac0a65d485f40b1722199.tar.bz2
manaverse-dc6de526dbdf0145fa3ac0a65d485f40b1722199.tar.xz
manaverse-dc6de526dbdf0145fa3ac0a65d485f40b1722199.zip
Remove default parameters from dragdrop.g
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/skilllistbox.h2
-rw-r--r--src/gui/widgets/skillrectanglelistbox.h2
-rw-r--r--src/gui/widgets/virtshortcutcontainer.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/skilllistbox.h b/src/gui/widgets/skilllistbox.h
index 4f7e2a61b..65f4c82b7 100644
--- a/src/gui/widgets/skilllistbox.h
+++ b/src/gui/widgets/skilllistbox.h
@@ -221,7 +221,7 @@ class SkillListBox final : public ListBox
const SkillInfo *const skill = getSkillByEvent(event);
if (skill == nullptr)
return;
- dragDrop.dragSkill(skill, DragDropSource::Skills);
+ dragDrop.dragSkill(skill, DragDropSource::Skills, 0);
dragDrop.setItem(skill->id + SKILL_MIN_ID);
dragDrop.setItemData(skill->toDataStr());
}
diff --git a/src/gui/widgets/skillrectanglelistbox.h b/src/gui/widgets/skillrectanglelistbox.h
index a3139260c..6ba51be51 100644
--- a/src/gui/widgets/skillrectanglelistbox.h
+++ b/src/gui/widgets/skillrectanglelistbox.h
@@ -303,7 +303,7 @@ class SkillRectangleListBox final : public Widget,
const SkillInfo *const skill = getSkillByEvent(event);
if (skill == nullptr)
return;
- dragDrop.dragSkill(skill, DragDropSource::Skills);
+ dragDrop.dragSkill(skill, DragDropSource::Skills, 0);
dragDrop.setItem(skill->id + SKILL_MIN_ID);
dragDrop.setItemData(skill->toDataStr());
}
diff --git a/src/gui/widgets/virtshortcutcontainer.cpp b/src/gui/widgets/virtshortcutcontainer.cpp
index 6b7642a3d..7d333bdbb 100644
--- a/src/gui/widgets/virtshortcutcontainer.cpp
+++ b/src/gui/widgets/virtshortcutcontainer.cpp
@@ -247,7 +247,7 @@ void VirtShortcutContainer::mouseDragged(MouseEvent &event)
if (item != nullptr)
{
- dragDrop.dragItem(item, DragDropSource::Drop);
+ dragDrop.dragItem(item, DragDropSource::Drop, 0);
mShortcut->removeItem(index);
}
else