diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-16 21:16:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-16 21:16:07 +0300 |
commit | 0c063cf5b45a843485fe3343e5fb79a40141f88c (patch) | |
tree | e2419701a312e0ba97404049cd5b82b7420c3fce /src/gui/widgets/skilllistbox.h | |
parent | db82bf99bbd6d246f3e8da19fe88705f7015f144 (diff) | |
download | mv-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.gz mv-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.bz2 mv-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.xz mv-0c063cf5b45a843485fe3343e5fb79a40141f88c.zip |
Convert DragDropSource enum into strong typed enum.
Diffstat (limited to 'src/gui/widgets/skilllistbox.h')
-rw-r--r-- | src/gui/widgets/skilllistbox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/skilllistbox.h b/src/gui/widgets/skilllistbox.h index 74057ff32..35d2998a9 100644 --- a/src/gui/widgets/skilllistbox.h +++ b/src/gui/widgets/skilllistbox.h @@ -212,7 +212,7 @@ class SkillListBox final : public ListBox const SkillInfo *const skill = getSkillByEvent(event); if (!skill) return; - dragDrop.dragSkill(skill, DRAGDROP_SOURCE_SKILLS); + dragDrop.dragSkill(skill, DragDropSource::Skills); dragDrop.setItem(skill->id + SKILL_MIN_ID); } ListBox::mouseDragged(event); |