diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 01:03:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 01:03:32 +0300 |
commit | 24bc91b63fb57ab3ec538f064f47108e1d7cb22c (patch) | |
tree | d7e90abc4a7f449799948fb64f1e70f952535cb5 | |
parent | 30ba8a737da8b1811397786106085f2c13167803 (diff) | |
download | plus-24bc91b63fb57ab3ec538f064f47108e1d7cb22c.tar.gz plus-24bc91b63fb57ab3ec538f064f47108e1d7cb22c.tar.bz2 plus-24bc91b63fb57ab3ec538f064f47108e1d7cb22c.tar.xz plus-24bc91b63fb57ab3ec538f064f47108e1d7cb22c.zip |
Remove default parameter from tabbedarea.
-rw-r--r-- | src/gui/widgets/tabbedarea.h | 2 | ||||
-rw-r--r-- | src/gui/windows/shortcutwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h index c971da391..22e1c879e 100644 --- a/src/gui/widgets/tabbedarea.h +++ b/src/gui/widgets/tabbedarea.h @@ -153,7 +153,7 @@ class TabbedArea final : public ActionListener, */ void removeTab(Tab *const tab); - void removeAll(const bool del = true); + void removeAll(const bool del); /** * Overload the logic function since it's broken in guichan 0.8. diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp index ae07f449c..0cd43975b 100644 --- a/src/gui/windows/shortcutwindow.cpp +++ b/src/gui/windows/shortcutwindow.cpp @@ -153,7 +153,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title, ShortcutWindow::~ShortcutWindow() { if (mTabs != nullptr) - mTabs->removeAll(); + mTabs->removeAll(true); delete2(mTabs); delete2(mItems); } diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 64fce95cd..8eab40ac4 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -304,7 +304,7 @@ void SkillDialog::updateModels() void SkillDialog::clearSkills() { - mTabs->removeAll(); + mTabs->removeAll(true); mDeleteTabs.clear(); mDefaultTab = nullptr; mDefaultModel = nullptr; |