From 184bdd25573eaf398aac683efb12c0d2f4e676f7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 25 Aug 2020 23:12:22 +0200 Subject: Add SubtitleString::unset_font. --- src/subtitle_string.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/subtitle_string.h') diff --git a/src/subtitle_string.h b/src/subtitle_string.h index 7e84d103..8e798d8e 100644 --- a/src/subtitle_string.h +++ b/src/subtitle_string.h @@ -129,6 +129,10 @@ public: _font = id; } + void unset_font () { + _font = boost::optional(); + } + void set_size (int s) { _size = s; } -- cgit v1.2.3