summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 01:03:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 01:03:32 +0300
commit24bc91b63fb57ab3ec538f064f47108e1d7cb22c (patch)
treed7e90abc4a7f449799948fb64f1e70f952535cb5 /src/gui/windows
parent30ba8a737da8b1811397786106085f2c13167803 (diff)
downloadmv-24bc91b63fb57ab3ec538f064f47108e1d7cb22c.tar.gz
mv-24bc91b63fb57ab3ec538f064f47108e1d7cb22c.tar.bz2
mv-24bc91b63fb57ab3ec538f064f47108e1d7cb22c.tar.xz
mv-24bc91b63fb57ab3ec538f064f47108e1d7cb22c.zip
Remove default parameter from tabbedarea.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/shortcutwindow.cpp2
-rw-r--r--src/gui/windows/skilldialog.cpp2
2 files changed, 2 insertions, 2 deletions
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;