summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-21 23:19:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-21 23:19:29 +0300
commit5d6e4e9a5875d79173e9d2c867567dc26354240e (patch)
treec4970334ea3700e955562755c18b51746c744c60 /src/gui/widgets
parent42f47e483da19079a937c4801ca94bd62d8dc970 (diff)
downloadplus-5d6e4e9a5875d79173e9d2c867567dc26354240e.tar.gz
plus-5d6e4e9a5875d79173e9d2c867567dc26354240e.tar.bz2
plus-5d6e4e9a5875d79173e9d2c867567dc26354240e.tar.xz
plus-5d6e4e9a5875d79173e9d2c867567dc26354240e.zip
Change useless if conditions.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp3
1 files changed, 0 insertions, 3 deletions
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))