diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-04 03:18:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-04 03:18:46 +0300 |
commit | 5612fb3a7f20a9385ba786bb25d25081b86259dd (patch) | |
tree | a7548d655f6f8d8298d94ce2f433dd287cde78bd /src/gui/windows | |
parent | 4431f40818f832e2cbae061927bdf59904cf5d3b (diff) | |
download | manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2 manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip |
Fix code style.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/minimap.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/shortcutwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 7e303af28..7f4f4600b 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -707,7 +707,7 @@ void InventoryWindow::mouseMoved(MouseEvent &event) } else { - const Button *const btn = dynamic_cast<const Button *const>(src); + const Button *const btn = dynamic_cast<const Button *>(src); if (!btn) { textPopup->hide(); diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp index 9b12ee1fd..2cee038bd 100644 --- a/src/gui/windows/minimap.cpp +++ b/src/gui/windows/minimap.cpp @@ -319,7 +319,7 @@ void Minimap::draw2(Graphics *const graphics) if (!(*it) || (*it)->getType() == ActorType::FloorItem) continue; - const Being *const being = static_cast<const Being *const>(*it); + const Being *const being = static_cast<const Being *>(*it); if (!being) continue; diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp index ee135f12d..be96b6416 100644 --- a/src/gui/windows/shortcutwindow.cpp +++ b/src/gui/windows/shortcutwindow.cpp @@ -193,7 +193,7 @@ void ShortcutWindow::widgetHidden(const Event &event) mItems->widgetHidden(event); if (mTabs) { - ScrollArea *const scroll = static_cast<ScrollArea *const>( + ScrollArea *const scroll = static_cast<ScrollArea *>( mTabs->getCurrentWidget()); if (scroll) { diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 992ec3a1f..9a99c32ca 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -158,7 +158,7 @@ void SkillDialog::action(const ActionEvent &event) { if (!playerHandler) return; - const SkillTab *const tab = static_cast<const SkillTab *const>( + const SkillTab *const tab = static_cast<const SkillTab *>( mTabs->getSelectedTab()); if (tab) { @@ -168,7 +168,7 @@ void SkillDialog::action(const ActionEvent &event) } else if (eventId == "sel") { - const SkillTab *const tab = static_cast<const SkillTab *const>( + const SkillTab *const tab = static_cast<const SkillTab *>( mTabs->getSelectedTab()); if (tab) { @@ -196,7 +196,7 @@ void SkillDialog::action(const ActionEvent &event) } else if (eventId == "use") { - const SkillTab *const tab = static_cast<const SkillTab *const>( + const SkillTab *const tab = static_cast<const SkillTab *>( mTabs->getSelectedTab()); if (tab) { |