summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r--src/gui/widgets/button.h2
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