summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-27 17:35:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-27 17:35:08 +0300
commit917d35d6cbea488f07596d0403d0bef8d6413f8a (patch)
treee8ae5cdd0c7a271669aee556cf54e4d7aff3b915 /src/gui/widgets/scrollarea.cpp
parentd9afcb2f48bebddf25c80a8489cd4041ddb7c8b5 (diff)
downloadmv-917d35d6cbea488f07596d0403d0bef8d6413f8a.tar.gz
mv-917d35d6cbea488f07596d0403d0bef8d6413f8a.tar.bz2
mv-917d35d6cbea488f07596d0403d0bef8d6413f8a.tar.xz
mv-917d35d6cbea488f07596d0403d0bef8d6413f8a.zip
Improve a bit basiccontainer.
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r--src/gui/widgets/scrollarea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index 1eb5417e8..23b681907 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -1275,7 +1275,7 @@ void ScrollArea::setScrollbarWidth(const int width)
mScrollbarWidth = width;
}
-void ScrollArea::showWidgetPart(Widget *const widget, Rect area)
+void ScrollArea::showWidgetPart(Widget *const widget, const Rect &area)
{
const Widget *const content = getContent();
if (widget != content)