diff options
Diffstat (limited to 'src/gui/widgets')
-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 |