aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/PlainTextEditorPage.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-09-03 12:11:36 +0000
committerSaturneric <[email protected]>2022-09-03 12:11:36 +0000
commit4201e3d55cc3bd467c2e49f694a445744f9af93f (patch)
tree281aa2ad51b2753d6295e821a14d8b1737484855 /src/ui/widgets/PlainTextEditorPage.h
parentfeat(project): support freebsd build (diff)
downloadGpgFrontend-4201e3d55cc3bd467c2e49f694a445744f9af93f.tar.gz
GpgFrontend-4201e3d55cc3bd467c2e49f694a445744f9af93f.zip
fix(ui): fix user feedback issues.
1. add the font size settings of text editor. 2. fix exception under Russia lang when doing verification.
Diffstat (limited to 'src/ui/widgets/PlainTextEditorPage.h')
-rw-r--r--src/ui/widgets/PlainTextEditorPage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/PlainTextEditorPage.h b/src/ui/widgets/PlainTextEditorPage.h
index e5c1c89d..ffa31762 100644
--- a/src/ui/widgets/PlainTextEditorPage.h
+++ b/src/ui/widgets/PlainTextEditorPage.h
@@ -129,7 +129,7 @@ class PlainTextEditorPage : public QWidget {
size_t read_bytes_ = 0; ///<
std::string charset_name_; ///<
std::string language_name_; ///<
- int32_t charset_confidence_; ///<
+ int32_t charset_confidence_{}; ///<
bool is_crlf_ = false; ///<
/**