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/desktop.cpp | |
parent | 2577a25f8a4acf587526809fda2ded95875e1222 (diff) | |
download | manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.gz manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.bz2 manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.xz manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.zip |
Add missing const in gui directory.
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r-- | src/gui/widgets/desktop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp index 4eee2de9d..aab966f9c 100644 --- a/src/gui/widgets/desktop.cpp +++ b/src/gui/widgets/desktop.cpp @@ -114,7 +114,7 @@ void Desktop::widgetResized(const Event &event A_UNUSED) setBestFittingWallpaper(); } -void Desktop::draw(Graphics *graphics) +void Desktop::draw(Graphics *const graphics) { BLOCK_START("Desktop::draw") GLDEBUG_START("Desktop::draw") @@ -155,7 +155,7 @@ void Desktop::draw(Graphics *graphics) BLOCK_END("Desktop::draw") } -void Desktop::safeDraw(Graphics *graphics) +void Desktop::safeDraw(Graphics *const graphics) { Desktop::draw(graphics); } |