From 5d6e4e9a5875d79173e9d2c867567dc26354240e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 21 Aug 2017 23:19:29 +0300 Subject: Change useless if conditions. --- src/gui/widgets/spellshortcutcontainer.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/gui') diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp index 6cc4def09..ffa23ffa1 100644 --- a/src/gui/widgets/spellshortcutcontainer.cpp +++ b/src/gui/widgets/spellshortcutcontainer.cpp @@ -229,9 +229,6 @@ void SpellShortcutContainer::mousePressed(MouseEvent &event) mSpellClicked = true; event.consume(); } - else if (eventButton == MouseButton::RIGHT) - { - } else if (eventButton == MouseButton::MIDDLE) { if ((spellShortcut == nullptr) || (spellManager == nullptr)) -- cgit v1.2.3-70-g09d2