summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/scrollarea.cpp2
-rw-r--r--src/gui/widgets/scrollarea.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index 065a72df8..bd386f820 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -401,7 +401,7 @@ void ScrollArea::safeDraw(Graphics *const graphics)
BLOCK_END("ScrollArea::draw")
}
-void ScrollArea::updateCalcFlag(Graphics *const graphics)
+void ScrollArea::updateCalcFlag(const Graphics *const graphics)
{
if (!mRedraw)
{
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index b33a5a392..3432c34d8 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -466,7 +466,7 @@ class ScrollArea final : public BasicContainer,
Image *getImageByState(Rect &dim, const BUTTON_DIR dir);
- void updateCalcFlag(Graphics *const graphics) A_NONNULL(2);
+ void updateCalcFlag(const Graphics *const graphics) A_NONNULL(2);
static int instances;
static float mAlpha;