diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-17 23:06:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-17 23:06:56 +0300 |
commit | dba0611175c8d4a56dfbc918ccef139351e5c3e0 (patch) | |
tree | b3c7a5684604facc0f0f5656fe373958c53dc5ad /src/gui/widgets/skilllistbox.h | |
parent | 53530f76275df76406a9ce438a33df78c50d0948 (diff) | |
download | mv-dba0611175c8d4a56dfbc918ccef139351e5c3e0.tar.gz mv-dba0611175c8d4a56dfbc918ccef139351e5c3e0.tar.bz2 mv-dba0611175c8d4a56dfbc918ccef139351e5c3e0.tar.xz mv-dba0611175c8d4a56dfbc918ccef139351e5c3e0.zip |
Revert "Remove override keyword, if it present with final."
This reverts commit 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.
Diffstat (limited to 'src/gui/widgets/skilllistbox.h')
-rw-r--r-- | src/gui/widgets/skilllistbox.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/skilllistbox.h b/src/gui/widgets/skilllistbox.h index 717578299..8415e0cab 100644 --- a/src/gui/widgets/skilllistbox.h +++ b/src/gui/widgets/skilllistbox.h @@ -87,7 +87,7 @@ class SkillListBox final : public ListBox return static_cast<SkillModel*>(mListModel)->getSkillAt(selected); } - void draw(Graphics *const graphics) final A_NONNULL(2) + void draw(Graphics *const graphics) override final A_NONNULL(2) { if (!mListModel) return; @@ -171,12 +171,12 @@ class SkillListBox final : public ListBox } } - void safeDraw(Graphics *const graphics) final A_NONNULL(2) + void safeDraw(Graphics *const graphics) override final A_NONNULL(2) { SkillListBox::draw(graphics); } - unsigned int getRowHeight() const final + unsigned int getRowHeight() const override final { return mRowHeight; } const SkillInfo *getSkillByEvent(const MouseEvent &event) const @@ -190,7 +190,7 @@ class SkillListBox final : public ListBox return skill; } - void mouseMoved(MouseEvent &event) final + void mouseMoved(MouseEvent &event) override final { ListBox::mouseMoved(event); if (!viewport || !dragDrop.isEmpty()) @@ -205,7 +205,7 @@ class SkillListBox final : public ListBox viewport->mMouseY); } - void mouseDragged(MouseEvent &event) final + void mouseDragged(MouseEvent &event) override final { if (event.getButton() == MouseButton::LEFT) { @@ -229,7 +229,7 @@ class SkillListBox final : public ListBox } } - void mousePressed(MouseEvent &event) final + void mousePressed(MouseEvent &event) override final { ListBox::mousePressed(event); if (event.getButton() == MouseButton::LEFT) @@ -254,12 +254,12 @@ class SkillListBox final : public ListBox } } - void mouseReleased(MouseEvent &event) final + void mouseReleased(MouseEvent &event) override final { ListBox::mouseReleased(event); } - void mouseExited(MouseEvent &event A_UNUSED) final + void mouseExited(MouseEvent &event A_UNUSED) override final { skillPopup->hide(); } |