diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-23 23:10:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-23 23:10:26 +0300 |
commit | 4c604dc4cc5b6697e2ea4288c13f9f3c84aba912 (patch) | |
tree | 4662b63759c4ee45c6d1d2064896b40b36396acf | |
parent | 49fff1aed195d44871caeeff063b1b8c76628e02 (diff) | |
download | plus-4c604dc4cc5b6697e2ea4288c13f9f3c84aba912.tar.gz plus-4c604dc4cc5b6697e2ea4288c13f9f3c84aba912.tar.bz2 plus-4c604dc4cc5b6697e2ea4288c13f9f3c84aba912.tar.xz plus-4c604dc4cc5b6697e2ea4288c13f9f3c84aba912.zip |
Remove default parameter from shortcutbase.
-rw-r--r-- | src/gui/shortcut/shortcutbase.h | 2 | ||||
-rw-r--r-- | src/progs/manaplus/actions/actions.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shortcut/shortcutbase.h b/src/gui/shortcut/shortcutbase.h index 90ca41ee7..62d7167dc 100644 --- a/src/gui/shortcut/shortcutbase.h +++ b/src/gui/shortcut/shortcutbase.h @@ -126,7 +126,7 @@ class ShortcutBase notfinal void removeItem(const size_t index) { mItems[index] = -1; save(); } - void clear(const bool isSave = true); + void clear(const bool isSave); private: int *mItems A_NONNULLPOINTER; diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index 715192bf9..9ec38cf20 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -1863,7 +1863,7 @@ impHandler(kick) impHandler0(clearDrop) { if (dropShortcut != nullptr) - dropShortcut->clear(); + dropShortcut->clear(true); return true; } |