diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 01:21:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 01:21:54 +0300 |
commit | d8abec8cfce526f9b4779b674b172514100d01a2 (patch) | |
tree | 305c62d9503a1a508044883bcd336ea07d3c17f8 /src/gui/windows/skilldialog.cpp | |
parent | b717426195ce73de9a70412a1e40fb01898264ae (diff) | |
download | mv-d8abec8cfce526f9b4779b674b172514100d01a2.tar.gz mv-d8abec8cfce526f9b4779b674b172514100d01a2.tar.bz2 mv-d8abec8cfce526f9b4779b674b172514100d01a2.tar.xz mv-d8abec8cfce526f9b4779b674b172514100d01a2.zip |
Remove default parameters from scrollarea.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 114937b0b..347435fec 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -139,7 +139,8 @@ void SkillDialog::addDefaultTab() listbox->addActionListener(this); ScrollArea *const scroll = new ScrollArea(this, listbox, - Opaque_false); + Opaque_false, + std::string()); scroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); scroll->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS); // TRANSLATORS: unknown skills tab name @@ -401,7 +402,8 @@ void SkillDialog::loadXmlFile(const std::string &fileName, listbox->addActionListener(this); scroll = new ScrollArea(this, listbox, - Opaque_false); + Opaque_false, + std::string()); scroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); scroll->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS); tab = new SkillTab(this, setName, listbox); @@ -416,7 +418,8 @@ void SkillDialog::loadXmlFile(const std::string &fileName, listbox->addActionListener(this); scroll = new ScrollArea(this, listbox, - Opaque_false); + Opaque_false, + std::string()); scroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); scroll->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS); tab = new SkillTab(this, setName, listbox); |