summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-24 01:21:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-24 01:21:54 +0300
commitd8abec8cfce526f9b4779b674b172514100d01a2 (patch)
tree305c62d9503a1a508044883bcd336ea07d3c17f8 /src/gui/windows/skilldialog.cpp
parentb717426195ce73de9a70412a1e40fb01898264ae (diff)
downloadmanaverse-d8abec8cfce526f9b4779b674b172514100d01a2.tar.gz
manaverse-d8abec8cfce526f9b4779b674b172514100d01a2.tar.bz2
manaverse-d8abec8cfce526f9b4779b674b172514100d01a2.tar.xz
manaverse-d8abec8cfce526f9b4779b674b172514100d01a2.zip
Remove default parameters from scrollarea.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r--src/gui/windows/skilldialog.cpp9
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);