summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setuptabscroll.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-28 02:12:32 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-28 02:12:32 +0300
commit7898fc26ca13913637bd84008df016763358d082 (patch)
tree13ffeeab17bebd8e79391bfc75cc3cd38d068cdc /src/gui/widgets/setuptabscroll.cpp
parentf60d54307c20d4150e630620dbe0be62b2a1b8a5 (diff)
downloadplus-7898fc26ca13913637bd84008df016763358d082.tar.gz
plus-7898fc26ca13913637bd84008df016763358d082.tar.bz2
plus-7898fc26ca13913637bd84008df016763358d082.tar.xz
plus-7898fc26ca13913637bd84008df016763358d082.zip
Simplify scrollarea opaque flag.
Diffstat (limited to 'src/gui/widgets/setuptabscroll.cpp')
-rw-r--r--src/gui/widgets/setuptabscroll.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/setuptabscroll.cpp b/src/gui/widgets/setuptabscroll.cpp
index d7ff749d2..6bf627cdd 100644
--- a/src/gui/widgets/setuptabscroll.cpp
+++ b/src/gui/widgets/setuptabscroll.cpp
@@ -30,10 +30,9 @@
SetupTabScroll::SetupTabScroll() :
SetupTab(),
mContainer(new VertContainer(25, false, 8)),
- mScroll(new ScrollArea(mContainer)),
+ mScroll(new ScrollArea(mContainer, false)),
mPreferredFirstItemSize(200)
{
- mScroll->setOpaque(false);
mScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
mScroll->setVerticalScrollPolicy(ScrollArea::SHOW_AUTO);
}