diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 21:04:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 21:04:31 +0300 |
commit | dc6de526dbdf0145fa3ac0a65d485f40b1722199 (patch) | |
tree | 78d8dab1688da99ad143f72cc766bcb1dfa86bee /src/gui/widgets | |
parent | c6978f44df12c939ceca551fd071993402a7e4ee (diff) | |
download | manaverse-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.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/skillrectanglelistbox.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/virtshortcutcontainer.cpp | 2 |
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 |