summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 23:10:26 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 23:10:26 +0300
commit4c604dc4cc5b6697e2ea4288c13f9f3c84aba912 (patch)
tree4662b63759c4ee45c6d1d2064896b40b36396acf
parent49fff1aed195d44871caeeff063b1b8c76628e02 (diff)
downloadmv-4c604dc4cc5b6697e2ea4288c13f9f3c84aba912.tar.gz
mv-4c604dc4cc5b6697e2ea4288c13f9f3c84aba912.tar.bz2
mv-4c604dc4cc5b6697e2ea4288c13f9f3c84aba912.tar.xz
mv-4c604dc4cc5b6697e2ea4288c13f9f3c84aba912.zip
Remove default parameter from shortcutbase.
-rw-r--r--src/gui/shortcut/shortcutbase.h2
-rw-r--r--src/progs/manaplus/actions/actions.cpp2
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;
}