summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textpreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textpreview.h')
-rw-r--r--src/gui/widgets/textpreview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/textpreview.h b/src/gui/widgets/textpreview.h
index c2a46930e..5e84900ff 100644
--- a/src/gui/widgets/textpreview.h
+++ b/src/gui/widgets/textpreview.h
@@ -38,7 +38,7 @@ class TextPreview final : public gcn::Widget,
public Widget2
{
public:
- TextPreview(const std::string &text);
+ TextPreview(const Widget2 *const widget, const std::string &text);
A_DELETE_COPY(TextPreview)