diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-01 15:14:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-01 23:42:37 +0300 |
commit | f9030497b6196ce2fadb6b6ada5d784be227d9a6 (patch) | |
tree | d11408b35d0860709d31e6520578cdd28391f151 /src/gui/widgets/button.h | |
parent | f52ca7838789a6910840597a929ecf6e0be9e1de (diff) | |
download | mv-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.gz mv-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.bz2 mv-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.xz mv-f9030497b6196ce2fadb6b6ada5d784be227d9a6.zip |
Add missing const.
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r-- | src/gui/widgets/button.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index 015faf009..716ed7728 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -158,7 +158,7 @@ class Button final : public Widget, void mouseReleased(MouseEvent& event) override final; - void setDescription(std::string text) + void setDescription(const std::string &text) { mDescription = text; } std::string getDescription() const A_WARN_UNUSED |