aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-05-13 18:04:15 +0000
committerSaturneric <[email protected]>2022-05-13 18:04:15 +0000
commitb868f19495885f52d01e7b958bf415fb42afe172 (patch)
treecf45abc0f8b2dad9189488418d9921493f8799b7
parentfeat: add a simple TaskRunner system (diff)
downloadGpgFrontend-b868f19495885f52d01e7b958bf415fb42afe172.tar.gz
GpgFrontend-b868f19495885f52d01e7b958bf415fb42afe172.zip
fix: solve codacy issues
-rw-r--r--src/ui/widgets/PlainTextEditorPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/PlainTextEditorPage.cpp b/src/ui/widgets/PlainTextEditorPage.cpp
index 6f1727e8..7eb682cc 100644
--- a/src/ui/widgets/PlainTextEditorPage.cpp
+++ b/src/ui/widgets/PlainTextEditorPage.cpp
@@ -233,7 +233,7 @@ void PlainTextEditorPage::slot_insert_text(QByteArray bytes_data) {
this->ui_->characterLabel->setText(str.str().c_str());
} else {
// detect crlf/lf line ending
- if (!binary_mode_) detect_cr_lf(data);
+ detect_cr_lf(data);
// when reding from a text file
// try convert the any of thetext to utf8