diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-21 23:19:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-21 23:19:29 +0300 |
commit | 5d6e4e9a5875d79173e9d2c867567dc26354240e (patch) | |
tree | c4970334ea3700e955562755c18b51746c744c60 /src/gui/widgets/spellshortcutcontainer.cpp | |
parent | 42f47e483da19079a937c4801ca94bd62d8dc970 (diff) | |
download | plus-5d6e4e9a5875d79173e9d2c867567dc26354240e.tar.gz plus-5d6e4e9a5875d79173e9d2c867567dc26354240e.tar.bz2 plus-5d6e4e9a5875d79173e9d2c867567dc26354240e.tar.xz plus-5d6e4e9a5875d79173e9d2c867567dc26354240e.zip |
Change useless if conditions.
Diffstat (limited to 'src/gui/widgets/spellshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/spellshortcutcontainer.cpp | 3 |
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)) |