From d24f0251e8c8964bf42f4bf028023f02f4e96933 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Wed, 12 Jan 2022 11:04:46 +0800 Subject: (ui): Text editor improvements. 1. Add binary display mode 2. Add information bar 3. Added character code recognition function. 4. Identify text encoding and line breaks 5. Count the number of characters 6. Code reconstruction --- src/ui/thread/FileReadThread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/thread/FileReadThread.h') diff --git a/src/ui/thread/FileReadThread.h b/src/ui/thread/FileReadThread.h index 46ed6cbc..65982848 100644 --- a/src/ui/thread/FileReadThread.h +++ b/src/ui/thread/FileReadThread.h @@ -37,7 +37,7 @@ class FileReadThread : public QThread { signals: - void sendReadBlock(const QString& block); + void sendReadBlock(const std::string& block); void readDone(); -- cgit v1.2.3