diff options
author | Saturneric <[email protected]> | 2022-05-13 18:04:15 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-05-13 18:04:15 +0000 |
commit | b868f19495885f52d01e7b958bf415fb42afe172 (patch) | |
tree | cf45abc0f8b2dad9189488418d9921493f8799b7 | |
parent | feat: add a simple TaskRunner system (diff) | |
download | GpgFrontend-b868f19495885f52d01e7b958bf415fb42afe172.tar.gz GpgFrontend-b868f19495885f52d01e7b958bf415fb42afe172.zip |
fix: solve codacy issues
-rw-r--r-- | src/ui/widgets/PlainTextEditorPage.cpp | 2 |
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 |