diff options
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); |