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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/textpreview.h b/src/gui/widgets/textpreview.h
index 62e3d1cd1..f56eac5bb 100644
--- a/src/gui/widgets/textpreview.h
+++ b/src/gui/widgets/textpreview.h
@@ -100,9 +100,9 @@ class TextPreview final : public Widget
*
* @param graphics graphics to draw into
*/
- void draw(Graphics *graphics) override final;
+ void draw(Graphics *graphics) override final A_NONNULL(2);
- void safeDraw(Graphics *graphics) override final;
+ void safeDraw(Graphics *graphics) override final A_NONNULL(2);
/**
* Set opacity for this widget (whether or not to show the background