diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:35 +0300 |
commit | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (patch) | |
tree | 2053748aba4fd1e01020effe9322757426354d28 /src/gui/widgets/tabs | |
parent | 2577a25f8a4acf587526809fda2ded95875e1222 (diff) | |
download | mv-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.gz mv-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.bz2 mv-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.xz mv-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.zip |
Add missing const in gui directory.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/tab.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/tabs/tab.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp index 93d2c72d8..7f5c26c8f 100644 --- a/src/gui/widgets/tabs/tab.cpp +++ b/src/gui/widgets/tabs/tab.cpp @@ -204,7 +204,7 @@ void Tab::updateAlpha() } } -void Tab::draw(Graphics *graphics) +void Tab::draw(Graphics *const graphics) { BLOCK_START("Tab::draw") int mode = TAB_STANDARD; @@ -307,7 +307,7 @@ void Tab::draw(Graphics *graphics) BLOCK_END("Tab::draw") } -void Tab::safeDraw(Graphics *graphics) +void Tab::safeDraw(Graphics *const graphics) { BLOCK_START("Tab::draw") int mode = TAB_STANDARD; diff --git a/src/gui/widgets/tabs/tab.h b/src/gui/widgets/tabs/tab.h index dfa126b90..d32cc176c 100644 --- a/src/gui/widgets/tabs/tab.h +++ b/src/gui/widgets/tabs/tab.h @@ -109,9 +109,9 @@ class Tab notfinal : public BasicContainer, /** * Draw the tabbed area. */ - void draw(Graphics *graphics) override final A_NONNULL(2); + void draw(Graphics *const graphics) override final A_NONNULL(2); - void safeDraw(Graphics *graphics) override final A_NONNULL(2); + void safeDraw(Graphics *const graphics) override final A_NONNULL(2); /** * Set the normal color for the tab's text. |