diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-22 19:35:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-22 19:35:22 +0300 |
commit | 34bd6e0b8e0fb74cc416550a52e6406c47fefea6 (patch) | |
tree | f2e36f2ae2b721de22be4e1b18cf1dd09ba03741 /src/gui/widgets | |
parent | 1ee6d71c1d771ab8a990ef427a59f54132910ac7 (diff) | |
download | plus-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.gz plus-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.bz2 plus-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.xz plus-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.zip |
Add some missing consts.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/scrollarea.h | 2 |
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; |