diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-28 02:12:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-28 02:12:32 +0300 |
commit | 7898fc26ca13913637bd84008df016763358d082 (patch) | |
tree | 13ffeeab17bebd8e79391bfc75cc3cd38d068cdc /src/gui/skilldialog.cpp | |
parent | f60d54307c20d4150e630620dbe0be62b2a1b8a5 (diff) | |
download | plus-7898fc26ca13913637bd84008df016763358d082.tar.gz plus-7898fc26ca13913637bd84008df016763358d082.tar.bz2 plus-7898fc26ca13913637bd84008df016763358d082.tar.xz plus-7898fc26ca13913637bd84008df016763358d082.zip |
Simplify scrollarea opaque flag.
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r-- | src/gui/skilldialog.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index aa8ea716f..86a4df38b 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -394,8 +394,7 @@ void SkillDialog::loadSkills(const std::string &file) listbox = new SkillListBox(model); listbox->setActionEventId("sel"); listbox->addActionListener(this); - scroll = new ScrollArea(listbox); - scroll->setOpaque(false); + scroll = new ScrollArea(listbox, false); scroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); scroll->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS); @@ -458,8 +457,7 @@ void SkillDialog::loadSkills(const std::string &file) listbox = new SkillListBox(model); listbox->setActionEventId("sel"); listbox->addActionListener(this); - scroll = new ScrollArea(listbox); - scroll->setOpaque(false); + scroll = new ScrollArea(listbox, false); scroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); scroll->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS); |